com.bea.alsb.presentation
Class ExpandableRowObject

java.lang.Object
  extended by com.bea.alsb.presentation.ExpandableRowObject
All Implemented Interfaces:
IExpandableRowObject

public class ExpandableRowObject
extends Object
implements IExpandableRowObject

Expandable Row Object


Field Summary
 
Fields inherited from interface com.bea.alsb.presentation.IExpandableRowObject
COLLAPSED, EXPANDED
 
Constructor Summary
ExpandableRowObject(boolean expanded, boolean selected, String label, List<EditField> fields)
          Constructor
ExpandableRowObject(boolean selected, String label, List<EditField> fields)
           
 
Method Summary
 UIError[] getErrors()
          returns the validation errors for the fields in this row
 List<EditField> getFields()
          returns the list of fields for the expanded row
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandableRowObject

public ExpandableRowObject(boolean expanded,
                           boolean selected,
                           String label,
                           List<EditField> fields)
Constructor


ExpandableRowObject

public ExpandableRowObject(boolean selected,
                           String label,
                           List<EditField> fields)
Method Detail

isExpanded

public boolean isExpanded()
returns whether the row is expanded

Specified by:
isExpanded in interface IExpandableRowObject

setExpanded

public void setExpanded(boolean expanded)
sets the row to expanded(true) or collapsed(false)

Specified by:
setExpanded in interface IExpandableRowObject

isSelected

public boolean isSelected()
returns whether the row is selected (checked)

Specified by:
isSelected in interface IExpandableRowObject

setSelected

public void setSelected(boolean selected)
sets the selected row

Specified by:
setSelected in interface IExpandableRowObject

getLabel

public String getLabel()
returns the label for each row

Specified by:
getLabel in interface IExpandableRowObject

getFields

public List<EditField> getFields()
returns the list of fields for the expanded row

Specified by:
getFields in interface IExpandableRowObject
Returns:

getErrors

public UIError[] getErrors()
returns the validation errors for the fields in this row

Specified by:
getErrors in interface IExpandableRowObject

setErrors

public void setErrors(UIError[] errors)
set the validation errors for the fields in this row

Specified by:
setErrors in interface IExpandableRowObject