Package com.spun.util
Interface EnabledConditions
public interface EnabledConditions
This is a Top Level of the configuration classes. It is a container for
other classes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConditionListener(ConditionListener listener) Adds the conditionListener, calls conditions changed on the current listener.getToolTipText(int state) Returns ToolTipText for the item dependant on the state.booleanisEnabled(int state) Returns the conditions that are allowed at the current time.voidremoveConditionListener(ConditionListener listener) removes the conditionListener
-
Method Details
-
isEnabled
boolean isEnabled(int state) Returns the conditions that are allowed at the current time. -
getToolTipText
Returns ToolTipText for the item dependant on the state. -
addConditionListener
Adds the conditionListener, calls conditions changed on the current listener. -
removeConditionListener
removes the conditionListener
-