EASE.Sensing.Specification
Class InputData
java.lang.Object
|
+--EASE.Sensing.Specification.Cell
|
+--EASE.Sensing.Specification.InputData
- Direct Known Subclasses:
- InputListData
- public class InputData
- extends Cell
- implements java.io.Serializable, Constants
Specification unit of data available from Simulator Interface
- See Also:
- Serialized Form
Fields inherited from class EASE.Sensing.Specification.Cell |
comment,
creationDate,
debugger,
defaultFileName,
fileName,
instantiatedParams,
listeners,
name,
previousVersion,
serialVersionUID,
subCells,
subsequentVersion,
treePath |
Constructor Summary |
InputData(SensorReference ref)
|
InputData(java.lang.String name,
java.lang.String comment,
java.lang.String type)
Creates a specification for a piece of input data |
InputData(java.lang.String name,
java.lang.String comment,
java.lang.String type,
java.util.Vector parameters)
Input data with parameters - really an environment function |
Methods inherited from class EASE.Sensing.Specification.Cell |
addChangeListener,
addSub,
createChildDisplayTreeBranch,
createParentDisplayTreeBranch,
getComment,
getFactory,
getFileName,
getFullName,
getHistory,
getInstantiatedParams,
getListenerNames,
getListType,
getName,
getPrevious,
getSub,
getSubs,
getSuccessor,
hasListeners,
hasParameters,
instantiateParamsForEngine,
instantiateParamsForEngine,
justCreated,
matchParam,
notifyAllListeners,
notifyChange,
removeChangeListener,
removeInstantiated,
saveValidateSubs,
saveValidateVector,
setFileName,
setInstantiatedParams,
setSubs,
setSuccessor,
setTreePath,
shortFileName,
toString,
validateSubs,
validateVector |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
typeName
private java.lang.String typeName
parameters
private java.util.Vector parameters
serialVersionUID
static final long serialVersionUID
InputData
public InputData(java.lang.String name,
java.lang.String comment,
java.lang.String type)
- Creates a specification for a piece of input data
- Parameters:
name
- Specifies a name given to the piece of data.
E.g. BallDist comment
- Some description of the data. type
- A valid Java type describing the object type.
InputData
public InputData(SensorReference ref)
InputData
public InputData(java.lang.String name,
java.lang.String comment,
java.lang.String type,
java.util.Vector parameters)
- Input data with parameters - really an environment function
getEngineNode
public Node getEngineNode()
- Return a SensorValue node representing this InputData
- Overrides:
- getEngineNode in class Cell
setParams
public void setParams(java.util.Vector ps)
getType
public int getType()
- Overrides:
- getType in class Cell
getParameters
public java.util.Vector getParameters()
- Overrides:
- getParameters in class Cell
getTypeName
public java.lang.String getTypeName()
getTreePath
public javax.swing.tree.TreePath getTreePath()
- Override treepath function from Cell to put input data in a seperate branch
- Overrides:
- getTreePath in class Cell