EchoPoint
1.0

echopoint.model
Interface ExpandableModel

All Known Implementing Classes:
DefaultExpandableModel

public interface ExpandableModel

A model that supports at most one indexed selection.


Method Summary
 void addChangeListener(nextapp.echo.event.ChangeListener listener)
          Adds listener as a listener to changes in the model.
 boolean isExpanded()
          Returns the model's expansion.
 void removeChangeListener(nextapp.echo.event.ChangeListener listener)
          Removes listener as a listener to changes in the model.
 void setExpanded(boolean isExpanded)
          Sets the model's expansion
Notifies any listeners if the model changes
 

Method Detail

addChangeListener

public void addChangeListener(nextapp.echo.event.ChangeListener listener)
Adds listener as a listener to changes in the model.

Parameters:
listener - the ChangeListener to add

isExpanded

public boolean isExpanded()
Returns the model's expansion.


removeChangeListener

public void removeChangeListener(nextapp.echo.event.ChangeListener listener)
Removes listener as a listener to changes in the model.

Parameters:
listener - the ChangeListener to remove

setExpanded

public void setExpanded(boolean isExpanded)
Sets the model's expansion
Notifies any listeners if the model changes


EchoPoint
1.0