/** * Return the current state, which is determined by the selection status of the model. * * @return The current state */ public State getState() { return model.getState(); }
/** * Set the new state. * * @param state The new state */ public final void setState(State state) { model.setState(state); }