|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.kzoo.grid.gui.EnabledDisabledStates
Grid GUI Support Package:
The EnabledDisabledStates
class provides a set of constants
describing possible criteria for graphical user interface components to
be enabled or disabled.
This class should be replaced with an enumerated
type under Java 1.5.
Field Summary | |
static int |
ALWAYS_DISABLED
Indicates that a component should always be disabled. |
static int |
ALWAYS_ENABLED
Indicates that a component should always be enabled. |
static int |
NEEDS_APP_RUNNING
Indicates that a component should be enabled when the application is actively executing (responding to another button, for example) and disabled whenever the application is waiting for user input, as for a stop button. |
static int |
NEEDS_APP_WAITING
Indicates that a component should be enabled whenever the application is waiting for user input (regardless of whether the user interface's grid has been set) and disabled when the application is actively executing (responding to another button, for example). |
static int |
NEEDS_GRID
Indicates that a component should be enabled if the grid associated with the component's user interface is not null. |
static int |
NEEDS_GRID_AND_APP_RUNNING
Indicates that a component should be enabled when the grid has been set and the application is actively executing (responding to another button, for example). |
static int |
NEEDS_GRID_AND_APP_WAITING
Indicates that a component should be enabled whenever the grid has been set and the application is waiting for user input. |
Constructor Summary | |
EnabledDisabledStates()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ALWAYS_ENABLED
public static final int NEEDS_GRID
public static final int NEEDS_APP_WAITING
public static final int NEEDS_APP_RUNNING
public static final int NEEDS_GRID_AND_APP_WAITING
public static final int NEEDS_GRID_AND_APP_RUNNING
public static final int ALWAYS_DISABLED
Constructor Detail |
public EnabledDisabledStates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |