public class RowState
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RowState.ExpansionType |
| Constructor and Description |
|---|
RowState() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveCellEditor(javax.faces.component.UIComponent editor)
Convenience method to take the id of the CellEditor component and add it to the list of active editors
in the row state for a given row object.
|
void |
addSelectedColumn(javax.faces.component.UIComponent column)
Convenience method to take the id of the Column component and add it to the list of selected columns
in the RowState for the given row object.
|
java.util.List<java.lang.String> |
getActiveCellEditorIds()
Get the backing List of Strings containing the Ids of the CellEditor components active in this row.
|
RowState.ExpansionType |
getExpansionType()
Get the expansion mode defined for this row.
|
java.util.List<java.lang.String> |
getSelectedColumnIds()
Get the backing List of Strings containing the Ids of the Column components selected in this row.
|
java.lang.String |
getType()
Get the String defining the set of columns rendered by this row.
|
boolean |
isEditable()
Get the editibility of the row.
|
boolean |
isExpandable()
Get the expandibility of the row.
|
boolean |
isExpanded()
Get the expanded state of the row.
|
boolean |
isSelectable()
Get the selectable state of the row.
|
boolean |
isSelected()
Get the selected state of the row.
|
boolean |
isVisible()
Get if the row is visible.
|
void |
removeActiveCellEditor(javax.faces.component.UIComponent editor)
Convenience method to take the id of the CellEditor component and remove it from the list of active editors
in the row state for a given row object.
|
void |
removeSelectedColumn(javax.faces.component.UIComponent column)
Convenience method to take the id of the Column component and remove it from the list of selected columns
in the RowState for the given row object.
|
void |
setActiveCellEditorIds(java.util.List<java.lang.String> activeCellEditorIds)
Set a List of Strings containing the Ids of the CellEditor components active in this row.
|
void |
setEditable(boolean editable)
Set the editibility of the row.
|
void |
setExpandable(boolean expandable)
Set the expandibility of the row.
|
void |
setExpanded(boolean expanded)
Set the expanded state of the row.
|
void |
setExpansionType(RowState.ExpansionType expansionType)
Set the expansion mode (row, panel or none) for this row.
|
void |
setSelectable(boolean selectable)
Set the selectable state of the row.
|
void |
setSelected(boolean selected)
Set the selected state of the row.
|
void |
setSelectedColumnIds(java.util.List<java.lang.String> selectedColumnIds)
Set a List of Strings containing the Ids of the Column components selected in this row.
|
void |
setType(java.lang.String type)
Set the String defining the set of columns rendered by this row.
|
void |
setVisible(boolean visible)
Set if the row is visible.
|
public RowState.ExpansionType getExpansionType()
public void setExpansionType(RowState.ExpansionType expansionType)
expansionType - expansion mode enumpublic java.lang.String getType()
public void setType(java.lang.String type)
type - column set namepublic boolean isSelected()
public void setSelected(boolean selected)
selected - is the row selectedpublic boolean isSelectable()
public void setSelectable(boolean selectable)
selectable - if the row or child columns can be selectedpublic boolean isExpanded()
public void setExpanded(boolean expanded)
expanded - is the row expandedpublic boolean isExpandable()
public void setExpandable(boolean expandable)
expandable - is the row expandiblepublic boolean isEditable()
public void setEditable(boolean editable)
editable - is the row editablepublic boolean isVisible()
public void setVisible(boolean visible)
visible - is the row visiblepublic java.util.List<java.lang.String> getActiveCellEditorIds()
public java.util.List<java.lang.String> getSelectedColumnIds()
public void setSelectedColumnIds(java.util.List<java.lang.String> selectedColumnIds)
selectedColumnIds - public void addSelectedColumn(javax.faces.component.UIComponent column)
column - public void removeSelectedColumn(javax.faces.component.UIComponent column)
column - public void setActiveCellEditorIds(java.util.List<java.lang.String> activeCellEditorIds)
activeCellEditorIds - public void addActiveCellEditor(javax.faces.component.UIComponent editor)
editor - public void removeActiveCellEditor(javax.faces.component.UIComponent editor)
editor - Copyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.