com.neuron.app.tonto
Class ActionAliasKey
java.lang.Object
com.neuron.app.tonto.CCFNode
com.neuron.app.tonto.CCFAction
com.neuron.app.tonto.ActionAliasKey
- All Implemented Interfaces:
- java.lang.Cloneable
public class ActionAliasKey
- extends CCFAction
Action that performs a virtual key-press. Key are the
fixed buttons on the case of the Pronto. These are distinguished
from buttons which are graphics on the LCD touch display.
Fields inherited from class com.neuron.app.tonto.CCFAction |
ACT_ALIAS_BUTTON, ACT_ALIAS_DEV, ACT_ALIAS_KEY, ACT_BEEP, ACT_DELAY, ACT_DUMMY, ACT_IRCODE, ACT_JUMP_PANEL, ACT_MARANTZ_JUMP, ACT_TIMER, CustomKeys, JUMP_BACK, JUMP_FORWARD, JUMP_MOUSE_MODE, JUMP_SCROLL_DOWN, JUMP_SCROLL_UP, jumpSpecial, jumpSpecialID, KEY_CHANDOWN, KEY_CHANUP, KEY_VOLDOWN, KEY_VOLUP, MarantzKeys, ProntoKeys, ProntoProKeys |
Method Summary |
CCFDevice |
getDevice()
Get the current device associated with this action. |
int |
getKey()
Get the current key associated with this action. |
void |
setDevice(CCFDevice dev)
Set the current device associated with this action. |
void |
setKey(int key)
Set the current key associated with this action. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEY_LEFT
public static final int KEY_LEFT
- See Also:
- Constant Field Values
KEY_RIGHT
public static final int KEY_RIGHT
- See Also:
- Constant Field Values
KEY_VOL_DOWN
public static final int KEY_VOL_DOWN
- See Also:
- Constant Field Values
KEY_VOL_UP
public static final int KEY_VOL_UP
- See Also:
- Constant Field Values
KEY_CHAN_DOWN
public static final int KEY_CHAN_DOWN
- See Also:
- Constant Field Values
KEY_CHAN_UP
public static final int KEY_CHAN_UP
- See Also:
- Constant Field Values
KEY_MUTE
public static final int KEY_MUTE
- See Also:
- Constant Field Values
ActionAliasKey
public ActionAliasKey(CCFDevice dev,
int key)
- Create a key alias action. The Device is required
for the constructor since keys have different behaviour
depending on the currently active device.
- Parameters:
dev
- CCFDevice for current keykey
- key code ... see class statics
getDevice
public CCFDevice getDevice()
- Get the current device associated with this action.
setDevice
public void setDevice(CCFDevice dev)
- Set the current device associated with this action.
getKey
public int getKey()
- Get the current key associated with this action.
setKey
public void setKey(int key)
- Set the current key associated with this action.
- Parameters:
key
- key code ... see class statics