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 IExpandableRowObjectpublic void setExpanded(boolean expanded)
setExpanded in interface IExpandableRowObjectpublic boolean isSelected()
isSelected in interface IExpandableRowObjectpublic void setSelected(boolean selected)
setSelected in interface IExpandableRowObjectpublic java.lang.String getLabel()
getLabel in interface IExpandableRowObjectpublic java.util.List<EditField> getFields()
getFields in interface IExpandableRowObjectpublic UIError[] getErrors()
getErrors in interface IExpandableRowObjectpublic void setErrors(UIError[] errors)
setErrors in interface IExpandableRowObject