|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.sandia.ccaffeine.dc.user_iface.gui.guicmd.CmdActionGUI
gov.sandia.ccaffeine.dc.user_iface.gui.guicmd.CmdActionGUIParamDefault
public class CmdActionGUIParamDefault
CmdActionGUIParamDefault.java Cca components contain ports. Some of the ports contain data fields. The cca server is sending the default value of one of these data fields. A view entity might respond by checking the state of a data field; if the data field does not have a current value then the default value is displayed on the screen.
Possible Scenario:
An end-user clicks on a blue port inside of a component
client sends "parameters" to server
serer- sends "ParamDialog" to client
client responds by creating an empty dialog box
server sends "ParamTab" to client
client responds by inserting a new tab in the dialog box
server sends "ParamField" to client
client responds by inserting a blank data line into the dialog box
server sends "ParamCurrent" to client
client responds by inserting the data's value into the dialog box
server sends "ParamHelp" to client
client responds by setting the text that is displayed if the help button is clicked
server sends "ParamPrompt" to client
client responds by displaying a prompt to the left of the data's value
server sends "ParamDefault" to client
client responds by setting the data's default value
server sends "ParamStringChoice" to client
client responds by setting an item in the value's choice box
server sends "ParamNumberRange" to client
client responds by setting the data value's range of allowed values
server sends "ParamEndDialog" to client
client responds by displaying the dialog box on the screen
Constructor Summary | |
---|---|
CmdActionGUIParamDefault()
|
Method Summary | |
---|---|
java.lang.String |
argtype()
Describes the args Vector wanted by this Command. |
void |
doIt(CmdContext cc,
java.util.Vector args)
Does the action, called with the global context of the interpreter // and with a vector that matches the signature given by argtype(). |
java.lang.String |
help()
Returns a string containing the description of this command. |
java.lang.String[] |
names()
name(s) of the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmdActionGUIParamDefault()
Method Detail |
---|
public java.lang.String argtype()
CmdAction
argtype
in interface CmdAction
public java.lang.String[] names()
CmdAction
names
in interface CmdAction
public java.lang.String help()
CmdAction
help
in interface CmdAction
public void doIt(CmdContext cc, java.util.Vector args)
CmdAction
doIt
in interface CmdAction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |