public class VScrollTablePatched.TableFooter
extends com.google.gwt.user.client.ui.Panel
Constructor and Description |
---|
TableFooter() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
disableBrowserIntelligence()
Disable browser measurement of the table width
|
void |
enableBrowserIntelligence()
Enable browser measurement of the table width
|
void |
enableColumn(String cid,
int index)
Enable a column (Sets the footer cell)
|
VScrollTablePatched.FooterCell |
getFooterCell(int index)
Gets a footer cell by using a column index
|
VScrollTablePatched.FooterCell |
getFooterCell(String cid)
Gets a footer cell which represents the given columnId
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
void |
moveCell(int oldIndex,
int newIndex)
Swap cells when the column are dragged
|
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
void |
removeCell(String colKey)
Remove a cell by using the columnId
|
void |
setFooterCell(int index,
VScrollTablePatched.FooterCell cell)
Set a footer cell for a specified column index
|
void |
setHorizontalScrollPosition(int scrollLeft)
Set the horizontal position in the cell in the footer.
|
void |
updateCellsFromUIDL(com.vaadin.client.UIDL uidl)
Updates the cells contents when updateUIDL request is received
|
protected void |
updateStyleNames(String primaryStyleName) |
add, add, adopt, 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
protected void updateStyleNames(String primaryStyleName)
public void clear()
clear
in interface com.google.gwt.user.client.ui.HasWidgets
clear
in class com.google.gwt.user.client.ui.Panel
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 Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public VScrollTablePatched.FooterCell getFooterCell(String cid)
cid
- The columnIdpublic VScrollTablePatched.FooterCell getFooterCell(int index)
index
- The index of the columnpublic void updateCellsFromUIDL(com.vaadin.client.UIDL uidl)
uidl
- The UIDLpublic void setFooterCell(int index, VScrollTablePatched.FooterCell cell)
index
- The indexcell
- The footer cellpublic void removeCell(String colKey)
colKey
- The columnId to removepublic void enableColumn(String cid, int index)
cid
- The columnIdindex
- The index of the columnpublic void disableBrowserIntelligence()
public void enableBrowserIntelligence()
public void setHorizontalScrollPosition(int scrollLeft)
scrollLeft
- The value of the leftScrollpublic void moveCell(int oldIndex, int newIndex)
oldIndex
- The old index of the cellnewIndex
- The new index of the cellCopyright © 2017 Magnolia International Ltd.. All rights reserved.