public class VScrollTablePatched.VScrollTableBody
extends com.google.gwt.user.client.ui.Panel
Modifier and Type | Class and Description |
---|---|
protected class |
VScrollTablePatched.VScrollTableBody.VScrollTableGeneratedRow |
class |
VScrollTablePatched.VScrollTableBody.VScrollTableRow |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ROW_HEIGHT |
LinkedList<com.google.gwt.user.client.ui.Widget> |
renderedRows |
Modifier | Constructor and Description |
---|---|
protected |
VScrollTableBody() |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateMaxIndent()
This method exists for the needs of
VTreeTable only. |
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow |
createRow(com.vaadin.client.UIDL uidl,
char[] aligns2) |
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow |
createScrollTableRow() |
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow |
createScrollTableRow(com.vaadin.client.UIDL uidl,
char[] aligns) |
protected void |
ensureCacheFilled()
Ensure we have the correct set of rows on client side, e.g.
|
protected void |
ensureFocus()
Ensure the component has a focus.
|
int |
getAvailableWidth() |
int |
getColWidth(int columnIndex)
Returns the width available for column content.
|
int |
getFirstRendered() |
int |
getLastRendered() |
protected int |
getMaxIndent()
This method exists for the needs of
VTreeTable only. |
int |
getRequiredHeight() |
VScrollTablePatched.VScrollTableBody.VScrollTableRow |
getRowByRowIndex(int indexInTable) |
double |
getRowHeight() |
double |
getRowHeight(boolean forceUpdate) |
int |
getTableHeight() |
int |
indexOf(com.google.gwt.user.client.ui.Widget row) |
protected List<VScrollTablePatched.VScrollTableBody.VScrollTableRow> |
insertAndReindexRows(com.vaadin.client.UIDL rowData,
int firstIndex,
int rows) |
protected List<VScrollTablePatched.VScrollTableBody.VScrollTableRow> |
insertRows(com.vaadin.client.UIDL rowData,
int firstIndex,
int rows)
Inserts rows as provided in the rowData starting at firstIndex.
|
protected void |
insertRowsDeleteBelow(com.vaadin.client.UIDL rowData,
int firstIndex,
int rows) |
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
void |
moveCol(int oldIndex,
int newIndex) |
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
void |
renderInitialRows(com.vaadin.client.UIDL rowData,
int firstIndex,
int rows) |
void |
renderRows(com.vaadin.client.UIDL rowData,
int firstIndex,
int rows) |
void |
setColWidth(int colIndex,
int w)
Sets the content width of a column.
|
void |
setLastRendered(int lastRendered) |
protected void |
unlinkAllRowsStartingAt(int index) |
protected void |
unlinkAndReindexRows(int firstIndex,
int count) |
protected boolean |
unlinkRow(boolean fromBeginning) |
protected void |
unlinkRows(int firstIndex,
int count) |
protected void |
updateStyleNames(String primaryStyleName) |
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final int DEFAULT_ROW_HEIGHT
public final LinkedList<com.google.gwt.user.client.ui.Widget> renderedRows
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow createScrollTableRow(com.vaadin.client.UIDL uidl, char[] aligns)
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow createScrollTableRow()
public void setLastRendered(int lastRendered)
public int getLastRendered()
public int getFirstRendered()
public VScrollTablePatched.VScrollTableBody.VScrollTableRow getRowByRowIndex(int indexInTable)
public int getRequiredHeight()
protected void updateStyleNames(String primaryStyleName)
public int getAvailableWidth()
public void renderInitialRows(com.vaadin.client.UIDL rowData, int firstIndex, int rows)
public void renderRows(com.vaadin.client.UIDL rowData, int firstIndex, int rows)
protected void ensureCacheFilled()
protected List<VScrollTablePatched.VScrollTableBody.VScrollTableRow> insertRows(com.vaadin.client.UIDL rowData, int firstIndex, int rows)
rowData
- firstIndex
- rows
- the number of rowsprotected List<VScrollTablePatched.VScrollTableBody.VScrollTableRow> insertAndReindexRows(com.vaadin.client.UIDL rowData, int firstIndex, int rows)
protected void insertRowsDeleteBelow(com.vaadin.client.UIDL rowData, int firstIndex, int rows)
protected VScrollTablePatched.VScrollTableBody.VScrollTableRow createRow(com.vaadin.client.UIDL uidl, char[] aligns2)
public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
protected boolean unlinkRow(boolean fromBeginning)
protected void unlinkRows(int firstIndex, int count)
protected void unlinkAndReindexRows(int firstIndex, int count)
protected void unlinkAllRowsStartingAt(int index)
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove
in interface com.google.gwt.user.client.ui.HasWidgets
remove
in class com.google.gwt.user.client.ui.Panel
public double getRowHeight()
public double getRowHeight(boolean forceUpdate)
public int getTableHeight()
public int getColWidth(int columnIndex)
columnIndex
- public void setColWidth(int colIndex, int w)
colIndex
- The column Indexw
- The content widthprotected int getMaxIndent()
VTreeTable
only. May be
removed or replaced in the future.VScrollTable.getHierarchyColumnIndex()
protected void calculateMaxIndent()
VTreeTable
only. May be
removed or replaced in the future.public void moveCol(int oldIndex, int newIndex)
public int indexOf(com.google.gwt.user.client.ui.Widget row)
protected void ensureFocus()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.