com.vaadin.ui
Class Grid.Header
java.lang.Object
com.vaadin.ui.Grid.StaticSection<Grid.HeaderRow>
com.vaadin.ui.Grid.Header
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Grid
protected static class Grid.Header
- extends Grid.StaticSection<Grid.HeaderRow>
Represents the header section of a Grid.
- See Also:
- Serialized Form
| Methods inherited from class com.vaadin.ui.Grid.StaticSection |
addColumn, addRowAt, appendRow, getRow, getRowCount, isVisible, markAsDirty, prependRow, removeColumn, removeRow, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Grid.Header
protected Grid.Header(Grid grid)
setDefaultRow
public void setDefaultRow(Grid.HeaderRow row)
- 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:
java.lang.IllegalArgumentException - this header does not contain the row
getDefaultRow
public Grid.HeaderRow getDefaultRow()
- 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 com.vaadin.shared.ui.grid.GridStaticSectionState getSectionState()
- Specified by:
getSectionState in class Grid.StaticSection<Grid.HeaderRow>
createRow
protected Grid.HeaderRow createRow()
- Specified by:
createRow in class Grid.StaticSection<Grid.HeaderRow>
removeRow
public Grid.HeaderRow removeRow(int rowIndex)
- Description copied from class:
Grid.StaticSection
- Removes the row at the given position.
- Overrides:
removeRow in class Grid.StaticSection<Grid.HeaderRow>
- See Also:
Grid.StaticSection.removeRow(StaticRow),
Grid.StaticSection.addRowAt(int),
Grid.StaticSection.appendRow(),
Grid.StaticSection.prependRow()
sanityCheck
protected void sanityCheck()
throws java.lang.IllegalStateException
- Description copied from class:
Grid.StaticSection
- Performs a sanity check that section is in correct state.
- Overrides:
sanityCheck in class Grid.StaticSection<Grid.HeaderRow>
- Throws:
java.lang.IllegalStateException - if merged cells are not i n continuous range
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.