com.itmill.toolkit.terminal.gwt.client.ui
Class IScrollTable.IScrollTableBody
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.itmill.toolkit.terminal.gwt.client.ui.IScrollTable.IScrollTableBody
- All Implemented Interfaces:
- com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, Iterable<com.google.gwt.user.client.ui.Widget>
- Enclosing class:
- IScrollTable
public class IScrollTable.IScrollTableBody
- extends com.google.gwt.user.client.ui.Panel
This Panel can only contain IScrollTableRow type of widgets. This
"simulates" very large table, keeping spacers which take room of
unrendered rows.
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
getParent, isAttached, onBrowserEvent, onDetach, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setWidth, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
CELL_EXTRA_WIDTH
public static final int CELL_EXTRA_WIDTH
- See Also:
- Constant Field Values
DEFAULT_ROW_HEIGHT
public static final int DEFAULT_ROW_HEIGHT
- See Also:
- Constant Field Values
CELL_CONTENT_PADDING
public static final int CELL_CONTENT_PADDING
- Amount of padding inside one table cell (this is reduced from the
"cellContent" element's width). You may override this in your own
widgetset.
- See Also:
- Constant Field Values
getAvailableWidth
public int getAvailableWidth()
renderInitialRows
public void renderInitialRows(UIDL rowData,
int firstIndex,
int rows)
renderRows
public void renderRows(UIDL rowData,
int firstIndex,
int rows)
iterator
public Iterator iterator()
unlinkRow
public boolean unlinkRow(boolean fromBeginning)
- Returns:
- false if couldn't remove row
remove
public boolean remove(com.google.gwt.user.client.ui.Widget w)
- Specified by:
remove
in interface com.google.gwt.user.client.ui.HasWidgets
- Specified by:
remove
in class com.google.gwt.user.client.ui.Panel
onAttach
protected void onAttach()
- Overrides:
onAttach
in class com.google.gwt.user.client.ui.Widget
getRowHeight
public int getRowHeight()
getColWidth
public int getColWidth(int i)
setColWidth
public void setColWidth(int colIndex,
int w)
getLastRendered
public int getLastRendered()
getFirstRendered
public int getFirstRendered()
moveCol
public void moveCol(int oldIndex,
int newIndex)
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.