public class ExpandableRowObject extends java.lang.Object implements IExpandableRowObject
COLLAPSED, EXPANDED
Constructor and Description |
---|
ExpandableRowObject(boolean expanded, boolean selected, java.lang.String label, java.util.List<EditField> fields)
Constructor
|
ExpandableRowObject(boolean selected, java.lang.String label, java.util.List<EditField> fields) |
Modifier and Type | Method and Description |
---|---|
UIError[] |
getErrors()
returns the validation errors for the fields in this row
|
java.util.List<EditField> |
getFields()
returns the list of fields for the expanded row
|
java.lang.String |
getLabel()
returns the label for each row
|
boolean |
isExpanded()
returns whether the row is expanded
|
boolean |
isSelected()
returns whether the row is selected (checked)
|
void |
setErrors(UIError[] errors)
set the validation errors for the fields in this row
|
void |
setExpanded(boolean expanded)
sets the row to expanded(true) or collapsed(false)
|
void |
setSelected(boolean selected)
sets the selected row
|
public ExpandableRowObject(boolean expanded, boolean selected, java.lang.String label, java.util.List<EditField> fields)
public ExpandableRowObject(boolean selected, java.lang.String label, java.util.List<EditField> fields)
public boolean isExpanded()
isExpanded
in interface IExpandableRowObject
public void setExpanded(boolean expanded)
setExpanded
in interface IExpandableRowObject
public boolean isSelected()
isSelected
in interface IExpandableRowObject
public void setSelected(boolean selected)
setSelected
in interface IExpandableRowObject
public java.lang.String getLabel()
getLabel
in interface IExpandableRowObject
public java.util.List<EditField> getFields()
getFields
in interface IExpandableRowObject
public UIError[] getErrors()
getErrors
in interface IExpandableRowObject
public void setErrors(UIError[] errors)
setErrors
in interface IExpandableRowObject