|
|||||||||
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.CmdActionGUIParamDialog
public class CmdActionGUIParamDialog
CmdActionGUIParamDialog.java Cca components contain ports. Some of the ports contain data fields. This event can be used to notify components that the cca server wants the client to display a dialog box that contains the values of all the data fields in the port. A view entity might respond by displaying an empty dialog box.
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 | |
---|---|
CmdActionGUIParamDialog()
|
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 CmdActionGUIParamDialog()
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 |