|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neuron.app.tonto.CCFNode
com.neuron.app.tonto.CCFDevice
public class CCFDevice
A container for Panels like the Home Panels, Device Panels and Macro Panels. This allows for the naming of keys, attachment of action lists and panel navigation management.
Field Summary | |
---|---|
static int |
HAS_SEPARATOR
|
static int |
IS_TEMPLATE
|
static int |
IS_TIMER_GROUP
|
static int |
NEEDS_PROGRAMMING
|
static int |
READ_ONLY
|
Fields inherited from class com.neuron.app.tonto.CCFNode |
---|
TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT |
Method Summary | |
---|---|
void |
addPanel(CCFPanel panel)
Add a panel to this Device. |
void |
appendDevice(CCFDevice device)
Append a device to the end of the device list. |
CCFPanel |
createPanel(java.lang.String name)
Create a new panel. |
CCFDevice |
delete()
Remove this device from the device list. |
CCFAction[] |
getActions()
|
CCFNode |
getClone()
|
CCFPanel |
getFirstPanel()
Return the first sub-panel. |
boolean |
getFlag(int flag)
Return the status of a Device flag. |
CCFHardKey[] |
getHardKeys()
|
java.lang.String |
getName()
Return the name of this device. |
CCFDevice |
getNextDevice()
Return the next device in the list. |
IListElement |
getNextElement()
|
CCFPanel |
getPanelByName(java.lang.String name)
Return the first panel with the specified name. |
int |
getRFExtender()
|
void |
insertAfter(CCFDevice dev)
|
void |
insertBefore(CCFDevice dev)
|
void |
setFirstPanel(CCFPanel panel)
Set the first sub-panel. |
void |
setFlag(int flag,
boolean set)
Set the status of a Device flag. |
void |
setKeyActions(CCFHardKey[] keys)
|
void |
setName(java.lang.String name)
Set the name of this device. |
void |
setNextDevice(CCFDevice device)
Set the next device in the list. |
void |
setRFExtender(int rf)
|
java.lang.String |
toString()
|
Methods inherited from class com.neuron.app.tonto.CCFNode |
---|
getHeader, getParent, getParentDevice, getParentPanel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int READ_ONLY
public static final int IS_TIMER_GROUP
public static final int NEEDS_PROGRAMMING
public static final int HAS_SEPARATOR
public static final int IS_TEMPLATE
Method Detail |
---|
public java.lang.String toString()
toString
in class CCFNode
public CCFNode getClone()
public CCFAction[] getActions()
public CCFPanel getPanelByName(java.lang.String name)
name
- name of panel to retrievepublic CCFHardKey[] getHardKeys()
public void setKeyActions(CCFHardKey[] keys)
public int getRFExtender()
public void setRFExtender(int rf)
public IListElement getNextElement()
getNextElement
in interface IListElement
public CCFDevice getNextDevice()
public void setNextDevice(CCFDevice device)
device
- new next devicepublic void appendDevice(CCFDevice device)
device
- new last devicepublic void insertAfter(CCFDevice dev)
public void insertBefore(CCFDevice dev)
public boolean getFlag(int flag)
flag
- name of flag to check
public void setFlag(int flag, boolean set)
flag
- name of flag to setset
- set on or offgetFlag(int)
public java.lang.String getName()
getName
in interface INamed
public void setName(java.lang.String name)
name
- new device namepublic CCFPanel getFirstPanel()
public void setFirstPanel(CCFPanel panel)
panel
- new first panelpublic CCFPanel createPanel(java.lang.String name)
public void addPanel(CCFPanel panel)
public CCFDevice delete()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |