EchoPoint
1.0

echopoint.model
Interface ColorSelectionModel

All Known Implementing Classes:
DefaultColorSelectionModel

public interface ColorSelectionModel

Interface for Color Selection


Method Summary
 void addChangeListener(nextapp.echo.event.ChangeListener listener)
          Adds listener as a listener to changes in the model.
 nextapp.echo.Color getSelectedColor()
           
 void removeChangeListener(nextapp.echo.event.ChangeListener listener)
          Removes listener as a listener to changes in the model.
 void setSelectedColor(nextapp.echo.Color color)
          Sets the model's selected color to color.
 

Method Detail

addChangeListener

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


getSelectedColor

public nextapp.echo.Color getSelectedColor()

removeChangeListener

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


setSelectedColor

public void setSelectedColor(nextapp.echo.Color color)
Sets the model's selected color to color. Notifies any listeners if the model changes


EchoPoint
1.0