gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterDialogBox

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.MVC.CcaPortParameterDialogBox

public class CcaPortParameterDialogBox
extends java.lang.Object

Cca components contain ports. Some of the ports contain data fields. When the server wants a VIEW to display a dialog box, the server will 1) send a "newParamDialog", 2) the contents of the dialog box, and 3) a "endParamDialog"


Field Summary
 java.lang.String componentInstanceName
           
 java.lang.String portInstanceName
           
 java.lang.String titleOfDialogBox
           
 
Constructor Summary
CcaPortParameterDialogBox(java.lang.String xml)
          Parse the xml contents of a port parameter dialog box..
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentInstanceName

public java.lang.String componentInstanceName

portInstanceName

public java.lang.String portInstanceName

titleOfDialogBox

public java.lang.String titleOfDialogBox
Constructor Detail

CcaPortParameterDialogBox

public CcaPortParameterDialogBox(java.lang.String xml)
Parse the xml contents of a port parameter dialog box.. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
<newParamDialog>
 <componentInstanceName>
   name1
   </componentInstanceName>
 <portInstanceName>name2</portInstanceName>
 <title>title1</title>
<newParamDialog>

Parameters:
xmlComponent - The xml code of one component.