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 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<TransportEditField> getFields()
getFields
in interface IExpandableRowObject
public TransportUIError[] getErrors()
getErrors
in interface IExpandableRowObject
public void setErrors(TransportUIError[] errors)
public void setErrors(UIError[] errors)
setErrors
in interface IExpandableRowObject