public abstract class DataCell
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DataCell(java.lang.String name,
visad.DataReference outRef)
Constructs from a name for the instance and the input and output data
references.
|
Modifier and Type | Method and Description |
---|---|
void |
clean()
Cleans this instance.
|
boolean |
disableRef(visad.DataReference ref)
Disables an input data reference that was specified during construction.
|
void |
enableAllInputRefs()
Enables all input data references.
|
visad.DataReference[] |
getInputRefs()
Returns the input data references.
|
visad.DataReference |
getOutputRef()
Returns the data references to the output data objects.
|
java.lang.String |
toString()
Returns a string representation of this instance.
|
protected DataCell(java.lang.String name, visad.DataReference outRef) throws visad.VisADException, java.rmi.RemoteException
ActionImpl
will be the name
of this instance with the suffix ".action". The input and output
data references arrays are cloned.name
- The name for the instance.outRef
- The output DataReference
.java.lang.NullPointerException
- if any argument is null
or if
an input or output data reference is
null
.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public visad.DataReference[] getInputRefs()
public final visad.DataReference getOutputRef()
public void enableAllInputRefs() throws visad.VisADException, java.rmi.RemoteException
java.lang.NullPointerException
- if an input data reference is
null
.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public boolean disableRef(visad.DataReference ref) throws visad.VisADException, java.rmi.RemoteException
ref
- The input data reference to disable.java.lang.NullPointerException
- if the argument is null
.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void clean() throws visad.VisADException, java.rmi.RemoteException
ActionImpl
and the action is stopped.
This instance may be reused after invoking this method,visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public final java.lang.String toString()
toString
in class java.lang.Object