Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## echopointng.model
Interface ColorSelectionModel

All Known Implementing Classes:
  DefaultColorSelectionModel

    public interface ColorSelectionModel

Model interface for Color Selection

Method Summary
`void` | `addListener(ChangeListener listener)` Adds listener as a listener to changes in the model.
`Color` | `getSelectedColor()`
`void` | `removeListener(ChangeListener listener)` Removes listener as a listener to changes in the model.
`void` | `setSelectedColor(Color newValue)` Sets the model's selected color newValue.

Method Detail

### addListener

    void addListener(ChangeListener listener)

  Adds listener as a listener to changes in the model.

  Parameters:
    `listener` - - the `ChangeListener` to add

### getSelectedColor

    Color getSelectedColor()

  Returns:
    the model's selected color

### removeListener

    void removeListener(ChangeListener listener)

  Removes listener as a listener to changes in the model.

  Parameters:
    `listener` - - the ChangeListener to remove

### setSelectedColor

    void setSelectedColor(Color newValue)

  Sets the model's selected color newValue. Notifies any listeners if the model changes

  Parameters:
    `newValue` - - the new color selection

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD