JUICe

com.lafros.juice.cmds
Interface Exe.Tog

All Superinterfaces:
Exe
Enclosing interface:
Exe

public static interface Exe.Tog
extends Exe

implemented by classes which execute pairs of commands (ICmds) representing toggles.

See Also:
Note on thread-safety

Nested Class Summary
static class Exe.Tog.TrigComp
          toggle-trigger component (for use in toggle triggers).
 
Nested classes/interfaces inherited from interface com.lafros.juice.cmds.Exe
Exe.Tog
 
Field Summary
static String ACTION_COMMAND_KEY_0
          key for use with Action.putValue(String, Object) to specify the value to be associated with the Action.ACTION_COMMAND_KEY when the toggle is unset.
static String ACTION_COMMAND_KEY_1
          key for use with Action.putValue(String, Object) to specify the value to be associated with the Action.ACTION_COMMAND_KEY when the toggle is set.
static String NAME_0
          key for use with Action.putValue(String, Object) to specify the text of any associated single-state toggle triggers when toggle is unset.
static String NAME_1
          key for use with Action.putValue(String, Object) to specify the text of any associated single-state toggle triggers when toggle is set.
 
Method Summary
 boolean isSet()
          returns toggle setting.
 
Methods inherited from interface com.lafros.juice.cmds.Exe
executeCmd, executeCmd, getAction, isEnabled, setEnabled
 

Field Detail

NAME_0

static final String NAME_0
key for use with Action.putValue(String, Object) to specify the text of any associated single-state toggle triggers when toggle is unset.

See Also:
Constant Field Values

NAME_1

static final String NAME_1
key for use with Action.putValue(String, Object) to specify the text of any associated single-state toggle triggers when toggle is set.

See Also:
Constant Field Values

ACTION_COMMAND_KEY_0

static final String ACTION_COMMAND_KEY_0
key for use with Action.putValue(String, Object) to specify the value to be associated with the Action.ACTION_COMMAND_KEY when the toggle is unset.

See Also:
Constant Field Values

ACTION_COMMAND_KEY_1

static final String ACTION_COMMAND_KEY_1
key for use with Action.putValue(String, Object) to specify the value to be associated with the Action.ACTION_COMMAND_KEY when the toggle is set.

See Also:
Constant Field Values
Method Detail

isSet

boolean isSet()
returns toggle setting.


JUICe

Copyright © 2001-2008 Latterfrosken Software Development Limited. All Rights Reserved.