|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.base.Xholon
org.primordion.xholon.base.Control
Control for a Xholon application.
| Field Summary | |
static int |
CS_INITIALIZED
|
static int |
CS_LOADED
|
static int |
CS_NO_MODEL_LOADED
|
static int |
CS_PAUSED
|
static int |
CS_RESETTING
|
static int |
CS_RUNNING
|
static int |
CS_STEPPING
|
static int |
CS_STOPPED
|
java.lang.String |
roleName
Name of a Control object. |
static int |
state
Current state of the application. |
static java.lang.String[] |
stateName
|
| Fields inherited from class org.primordion.xholon.base.Xholon |
DEFAULT_LEVEL, interaction, interactionsEnabled |
| Fields inherited from interface org.primordion.xholon.base.IXholon |
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx |
| Constructor Summary | |
Control()
|
|
| Method Summary | |
java.lang.String |
getName()
Get name, unique within this application, of this Xholon instance. |
java.lang.String |
getRoleName()
Get name of the role played by this Xholon within a specific context. |
static int |
getState()
Get the control state. |
java.lang.String |
getStateName()
Get displayable name of the state. |
static Control |
getView()
|
java.lang.String |
handleNodeSelection()
Handle selection of a tree node by a user, as when a person clicks on a JTree node in the default viewer. |
void |
initialize()
Initialize the tree node. |
static Control |
setControlTree(XholonClass cntrlClass)
Set the control tree, and return its root node. |
static void |
setModel(XholonClass ih,
IXholon csh)
Set the model. |
void |
setRoleName(java.lang.String roleName)
Set name of the role played by this Xholon within a specific context. |
static void |
setState(int stateArg)
Set the control state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CS_NO_MODEL_LOADED
public static final int CS_LOADED
public static final int CS_INITIALIZED
public static final int CS_RUNNING
public static final int CS_PAUSED
public static final int CS_STEPPING
public static final int CS_STOPPED
public static final int CS_RESETTING
public static final java.lang.String[] stateName
public static int state
public java.lang.String roleName
| Constructor Detail |
public Control()
| Method Detail |
public void initialize()
IXholon
initialize in interface IXholoninitialize in class Xholonpublic java.lang.String getName()
IXholon
getName in interface IXholongetName in class Xholonpublic static Control setControlTree(XholonClass cntrlClass)
cntrlClass - The Control xholon class.
public static void setModel(XholonClass ih,
IXholon csh)
ih - The root of the InheritanceHierarchy xholon tree.csh - The root of the CompositeStructureHierarchy xholon tree.public static Control getView()
public void setRoleName(java.lang.String roleName)
IXholon
setRoleName in interface IXholonsetRoleName in class Xholonpublic java.lang.String getRoleName()
IXholon
getRoleName in interface IXholongetRoleName in class Xholonpublic static void setState(int stateArg)
stateArg - The new state.public static int getState()
public java.lang.String getStateName()
public java.lang.String handleNodeSelection()
IXholon
handleNodeSelection in interface IXholonhandleNodeSelection in class Xholonpublic java.lang.String toString()
toString in class Xholon
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||