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