echopoint.model
Interface ColorSelectionModel

All Known Implementing Classes:
DefaultColorSelectionModel

public interface ColorSelectionModel

Interface for Color Selection


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

Method Detail

addChangeListener

void addChangeListener(ChangeListener listener)
Adds listener as a listener to changes in the model.


getSelectedColor

Color getSelectedColor()

removeChangeListener

void removeChangeListener(ChangeListener listener)
Removes listener as a listener to changes in the model.


setSelectedColor

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