gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class CcaPortParametersEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.CcaPortParametersEvent
All Implemented Interfaces:
java.io.Serializable

public class CcaPortParametersEvent
extends java.util.EventObject

Cca components contain ports. Some of the ports contain data fields. This event can be used to notify components that the cca server is sending all of the data fields that belong to a port. A view entity might respond by displaying the data fields 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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CcaPortParametersEvent(java.lang.Object source)
           
CcaPortParametersEvent(java.lang.Object source, java.lang.String xmlPortParameters)
           
 
Method Summary
 java.lang.String getXmlPortParameters()
           
 void setCcaPortParameters(java.lang.String xmlPortParameters)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CcaPortParametersEvent

public CcaPortParametersEvent(java.lang.Object source)

CcaPortParametersEvent

public CcaPortParametersEvent(java.lang.Object source,
                              java.lang.String xmlPortParameters)
Method Detail

getXmlPortParameters

public java.lang.String getXmlPortParameters()

setCcaPortParameters

public void setCcaPortParameters(java.lang.String xmlPortParameters)