gov.sandia.ccaffeine.dc.user_iface.gui
Class ComponentInstance.ComponentInstanceStateProperty

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.gui.ComponentInstance.ComponentInstanceStateProperty
Enclosing class:
ComponentInstance

public class ComponentInstance.ComponentInstanceStateProperty
extends java.lang.Object

Holds the mechanism to reduce the state of this ComponentInstance's state to a String. The state is represented as a key/value pair suitable for setting properties on the remote framework.


Constructor Summary
ComponentInstance.ComponentInstanceStateProperty()
           
 
Method Summary
 java.lang.String getKey()
          Create the key for this ComponentInstance.
 java.lang.String getValue()
          Create the string representation of the Component instance state.
 boolean isKey(java.lang.String key)
          Does the key identify state data belonging to this ComponentInstance?
 void setValue(java.lang.String value)
          Set the value of the state previously saved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInstance.ComponentInstanceStateProperty

public ComponentInstance.ComponentInstanceStateProperty()
Method Detail

getKey

public java.lang.String getKey()
Create the key for this ComponentInstance.


getValue

public java.lang.String getValue()
Create the string representation of the Component instance state. Right now just represents the position of the icon drawn on the Arena.


isKey

public boolean isKey(java.lang.String key)
Does the key identify state data belonging to this ComponentInstance?


setValue

public void setValue(java.lang.String value)
Set the value of the state previously saved. This causes the state of the ComponentInstance to be restored.