Package com.vaadin.v7.ui
Class Grid.Header
- java.lang.Object
-
- com.vaadin.v7.ui.Grid.StaticSection<Grid.HeaderRow>
-
- com.vaadin.v7.ui.Grid.Header
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Grid
@Deprecated protected static class Grid.Header extends Grid.StaticSection<Grid.HeaderRow>
Deprecated.Represents the header section of a Grid.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.v7.ui.Grid.StaticSection
Grid.StaticSection.StaticRow<CELLTYPE extends com.vaadin.v7.ui.Grid.StaticSection.StaticCell>
-
-
Field Summary
-
Fields inherited from class com.vaadin.v7.ui.Grid.StaticSection
grid, rows
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Grid.HeaderRowcreateRow()Deprecated.Grid.HeaderRowgetDefaultRow()Deprecated.Returns the current default row of this header.protected GridStaticSectionStategetSectionState()Deprecated.protected voidreadDesign(org.jsoup.nodes.Element tableSectionElement, DesignContext designContext)Deprecated.Writes the declarative design from the given table section element.Grid.HeaderRowremoveRow(int rowIndex)Deprecated.Removes the row at the given position.protected voidsanityCheck()Deprecated.Performs a sanity check that section is in correct state.voidsetDefaultRow(Grid.HeaderRow row)Deprecated.Sets the default row of this header.-
Methods inherited from class com.vaadin.v7.ui.Grid.StaticSection
addColumn, addRowAt, appendRow, getRow, getRowCount, isVisible, markAsDirty, prependRow, removeColumn, removeRow, setVisible, writeDesign
-
-
-
-
Constructor Detail
-
Header
protected Header(Grid grid)
Deprecated.
-
-
Method Detail
-
setDefaultRow
public void setDefaultRow(Grid.HeaderRow row)
Deprecated.Sets the default row of this header. The default row is a special header row providing a user interface for sorting columns.- Parameters:
row- the new default row, or null for no default row- Throws:
IllegalArgumentException- this header does not contain the row
-
getDefaultRow
public Grid.HeaderRow getDefaultRow()
Deprecated.Returns the current default row of this header. The default row is a special header row providing a user interface for sorting columns.- Returns:
- the default row or null if no default row set
-
getSectionState
protected GridStaticSectionState getSectionState()
Deprecated.- Specified by:
getSectionStatein classGrid.StaticSection<Grid.HeaderRow>
-
createRow
protected Grid.HeaderRow createRow()
Deprecated.- Specified by:
createRowin classGrid.StaticSection<Grid.HeaderRow>
-
removeRow
public Grid.HeaderRow removeRow(int rowIndex)
Deprecated.Description copied from class:Grid.StaticSectionRemoves the row at the given position.- Overrides:
removeRowin classGrid.StaticSection<Grid.HeaderRow>- Parameters:
rowIndex- the position of the row- See Also:
Grid.StaticSection.removeRow(StaticRow),Grid.StaticSection.addRowAt(int),Grid.StaticSection.appendRow(),Grid.StaticSection.prependRow()
-
sanityCheck
protected void sanityCheck() throws IllegalStateExceptionDeprecated.Description copied from class:Grid.StaticSectionPerforms a sanity check that section is in correct state.- Overrides:
sanityCheckin classGrid.StaticSection<Grid.HeaderRow>- Throws:
IllegalStateException- if merged cells are not i n continuous range
-
readDesign
protected void readDesign(org.jsoup.nodes.Element tableSectionElement, DesignContext designContext)Deprecated.Description copied from class:Grid.StaticSectionWrites the declarative design from the given table section element.- Overrides:
readDesignin classGrid.StaticSection<Grid.HeaderRow>- Parameters:
tableSectionElement- Element to read design fromdesignContext- the design context
-
-