public static class TransportUIFactory.ExpandableRowObject extends java.lang.Object implements IExpandableRowObject, java.io.Serializable
COLLAPSED, EXPANDED| Constructor and Description |
|---|
TransportUIFactory.ExpandableRowObject(boolean expanded, boolean selected, java.lang.String label, java.util.List<TransportEditField> fields)
Constructor
|
TransportUIFactory.ExpandableRowObject(boolean selected, java.lang.String label, java.util.List<TransportEditField> fields) |
| Modifier and Type | Method and Description |
|---|---|
TransportUIError[] |
getErrors()
returns the validation errors for the fields in this row
|
java.util.List<TransportEditField> |
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(TransportUIError[] errors)
set the validation errors for the fields in this row
|
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 TransportUIFactory.ExpandableRowObject(boolean expanded,
boolean selected,
java.lang.String label,
java.util.List<TransportEditField> fields)
public TransportUIFactory.ExpandableRowObject(boolean selected,
java.lang.String label,
java.util.List<TransportEditField> 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<TransportEditField> getFields()
getFields in interface IExpandableRowObjectpublic TransportUIError[] getErrors()
getErrors in interface IExpandableRowObjectpublic void setErrors(TransportUIError[] errors)
public void setErrors(UIError[] errors)
setErrors in interface IExpandableRowObject