com.vaadin.client.ui
Class VScrollTable.TableHead

java.lang.Object
  extended by Panel
      extended by com.vaadin.client.ui.VScrollTable.TableHead
All Implemented Interfaces:
ActionOwner
Enclosing class:
VScrollTable

public class VScrollTable.TableHead
extends Panel
implements ActionOwner


Constructor Summary
VScrollTable.TableHead()
           
 
Method Summary
 void clear()
           
 void disableAutoColumnWidthCalculation(VScrollTable.HeaderCell source)
          Disables the automatic calculation of all column widths by forcing the widths to be "defined" thus turning off expand ratios and such.
 void disableBrowserIntelligence()
           
 void enableBrowserIntelligence()
           
 void enableColumn(java.lang.String cid, int index)
           
 Action[] getActions()
           
 ApplicationConnection getClient()
           
 char[] getColumnAlignments()
          Returns column alignments for visible columns
 VScrollTable.HeaderCell getHeaderCell(int index)
           
 VScrollTable.HeaderCell getHeaderCell(java.lang.String cid)
          Get's HeaderCell by it's column Key.
 java.lang.String getPaintableId()
           
 int getVisibleCellCount()
           
 java.util.Iterator<Widget> iterator()
           
 void moveCell(int oldIndex, int newIndex)
           
 void onBrowserEvent(Event event)
           
protected  void onDetach()
           
 boolean remove(Widget w)
           
 void removeCell(java.lang.String colKey)
           
 void resizeCaptionContainer(VScrollTable.HeaderCell cell)
           
 void setColumnCollapsingAllowed(boolean cc)
           
 void setHeaderCell(int index, VScrollTable.HeaderCell cell)
           
 void setHorizontalScrollPosition(int scrollLeft)
           
 void updateCellsFromUIDL(UIDL uidl)
           
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.TableHead

public VScrollTable.TableHead()
Method Detail

updateStyleNames

protected void updateStyleNames(java.lang.String primaryStyleName)

resizeCaptionContainer

public void resizeCaptionContainer(VScrollTable.HeaderCell cell)

clear

public void clear()

updateCellsFromUIDL

public void updateCellsFromUIDL(UIDL uidl)

enableColumn

public void enableColumn(java.lang.String cid,
                         int index)

getVisibleCellCount

public int getVisibleCellCount()

setHorizontalScrollPosition

public void setHorizontalScrollPosition(int scrollLeft)

setColumnCollapsingAllowed

public void setColumnCollapsingAllowed(boolean cc)

disableBrowserIntelligence

public void disableBrowserIntelligence()

enableBrowserIntelligence

public void enableBrowserIntelligence()

setHeaderCell

public void setHeaderCell(int index,
                          VScrollTable.HeaderCell cell)

getHeaderCell

public VScrollTable.HeaderCell getHeaderCell(int index)

getHeaderCell

public VScrollTable.HeaderCell getHeaderCell(java.lang.String cid)
Get's HeaderCell by it's column Key. Note that this returns HeaderCell even if it is currently collapsed.

Parameters:
cid - Column key of accessed HeaderCell
Returns:
HeaderCell

moveCell

public void moveCell(int oldIndex,
                     int newIndex)

iterator

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

remove

public boolean remove(Widget w)

removeCell

public void removeCell(java.lang.String colKey)

onBrowserEvent

public void onBrowserEvent(Event event)

onDetach

protected void onDetach()

getActions

public Action[] getActions()
Specified by:
getActions in interface ActionOwner
Returns:
Array of IActions

getClient

public ApplicationConnection getClient()
Specified by:
getClient in interface ActionOwner

getPaintableId

public java.lang.String getPaintableId()
Specified by:
getPaintableId in interface ActionOwner

getColumnAlignments

public char[] getColumnAlignments()
Returns column alignments for visible columns


disableAutoColumnWidthCalculation

public void disableAutoColumnWidthCalculation(VScrollTable.HeaderCell source)
Disables the automatic calculation of all column widths by forcing the widths to be "defined" thus turning off expand ratios and such.



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