com.bea.wli.sb.transports.ui
Class TransportUIFactory.ExpandableRowObject

java.lang.Object
  extended by com.bea.wli.sb.transports.ui.TransportUIFactory.ExpandableRowObject
Enclosing class:
TransportUIFactory

public static class TransportUIFactory.ExpandableRowObject
extends Object

Expandable Row Object


Field Summary
static String COLLAPSED
           
static String EXPANDED
           
 
Constructor Summary
TransportUIFactory.ExpandableRowObject(boolean expanded, boolean selected, String label, List<TransportEditField> fields)
          Constructor
TransportUIFactory.ExpandableRowObject(boolean selected, String label, List<TransportEditField> fields)
           
 
Method Summary
 TransportUIError[] getErrors()
          returns the validation errors for the fields in this row
 List<TransportEditField> 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(TransportUIError[] 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
 

Field Detail

EXPANDED

public static final String EXPANDED
See Also:
Constant Field Values

COLLAPSED

public static final String COLLAPSED
See Also:
Constant Field Values
Constructor Detail

TransportUIFactory.ExpandableRowObject

public TransportUIFactory.ExpandableRowObject(boolean expanded,
                                              boolean selected,
                                              String label,
                                              List<TransportEditField> fields)
Constructor


TransportUIFactory.ExpandableRowObject

public TransportUIFactory.ExpandableRowObject(boolean selected,
                                              String label,
                                              List<TransportEditField> fields)
Method Detail

isExpanded

public boolean isExpanded()
returns whether the row is expanded


setExpanded

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


isSelected

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


setSelected

public void setSelected(boolean selected)
sets the selected row


getLabel

public String getLabel()
returns the label for each row


getFields

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

Returns:

getErrors

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


setErrors

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