com.vaadin.client.ui
Class VScrollTable.TableFooter

java.lang.Object
  extended by Panel
      extended by com.vaadin.client.ui.VScrollTable.TableFooter
Enclosing class:
VScrollTable

public class VScrollTable.TableFooter
extends Panel

The footer of the table which can be seen in the bottom of the Table.


Constructor Summary
VScrollTable.TableFooter()
           
 
Method Summary
 void clear()
           
 void disableBrowserIntelligence()
          Disable browser measurement of the table width
 void enableBrowserIntelligence()
          Enable browser measurement of the table width
 void enableColumn(java.lang.String cid, int index)
          Enable a column (Sets the footer cell)
 VScrollTable.FooterCell getFooterCell(int index)
          Gets a footer cell by using a column index
 VScrollTable.FooterCell getFooterCell(java.lang.String cid)
          Gets a footer cell which represents the given columnId
 java.util.Iterator<Widget> iterator()
           
 void moveCell(int oldIndex, int newIndex)
          Swap cells when the column are dragged
 boolean remove(Widget w)
           
 void removeCell(java.lang.String colKey)
          Remove a cell by using the columnId
 void setFooterCell(int index, VScrollTable.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(UIDL uidl)
          Updates the cells contents when updateUIDL request is received
protected  void updateStyleNames(java.lang.String primaryStyleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VScrollTable.TableFooter

public VScrollTable.TableFooter()
Method Detail

updateStyleNames

protected void updateStyleNames(java.lang.String primaryStyleName)

clear

public void clear()

remove

public boolean remove(Widget w)

iterator

public java.util.Iterator<Widget> iterator()

getFooterCell

public VScrollTable.FooterCell getFooterCell(java.lang.String cid)
Gets a footer cell which represents the given columnId

Parameters:
cid - The columnId
Returns:
The cell

getFooterCell

public VScrollTable.FooterCell getFooterCell(int index)
Gets a footer cell by using a column index

Parameters:
index - The index of the column
Returns:
The Cell

updateCellsFromUIDL

public void updateCellsFromUIDL(UIDL uidl)
Updates the cells contents when updateUIDL request is received

Parameters:
uidl - The UIDL

setFooterCell

public void setFooterCell(int index,
                          VScrollTable.FooterCell cell)
Set a footer cell for a specified column index

Parameters:
index - The index
cell - The footer cell

removeCell

public void removeCell(java.lang.String colKey)
Remove a cell by using the columnId

Parameters:
colKey - The columnId to remove

enableColumn

public void enableColumn(java.lang.String cid,
                         int index)
Enable a column (Sets the footer cell)

Parameters:
cid - The columnId
index - The index of the column

disableBrowserIntelligence

public void disableBrowserIntelligence()
Disable browser measurement of the table width


enableBrowserIntelligence

public void enableBrowserIntelligence()
Enable browser measurement of the table width


setHorizontalScrollPosition

public void setHorizontalScrollPosition(int scrollLeft)
Set the horizontal position in the cell in the footer. This is done when a horizontal scrollbar is present.

Parameters:
scrollLeft - The value of the leftScroll

moveCell

public void moveCell(int oldIndex,
                     int newIndex)
Swap cells when the column are dragged

Parameters:
oldIndex - The old index of the cell
newIndex - The new index of the cell


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.