|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.pipeline.PipePort<T> edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel<java.util.List> edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFileCollection edu.jhu.ece.iacl.jist.pipeline.parameter.ParamSurfaceLocationCollection edu.jhu.ece.iacl.jist.pipeline.parameter.ParamSurfaceCollection
public class ParamSurfaceCollection
Surface collection stores a collection of files. The restrictions on the files are set to be the same as the collection.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
PipePort.PortListener, PipePort.type |
Field Summary |
---|
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFileCollection |
---|
extensionFilter, fileParams, mandatory, readerWriter |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
---|
cliTag, description, factory, hidden, label, loadAndSaveOnValidate, shortLabel |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
Constructor Summary | |
---|---|
ParamSurfaceCollection()
Default constructor. |
|
ParamSurfaceCollection(java.lang.String name)
Constructor. |
Method Summary | |
---|---|
ParamSurface |
add(java.lang.Object value)
Add a new value to the collection. |
void |
clear()
Remove all files from collection. |
ParamSurfaceCollection |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare restriction of one volume collection to another. |
protected ParamSurface |
create(java.lang.Object value)
Create a new ParamSurface with the same restrictions as the collection and the specified value. |
java.util.List<EmbeddedSurface> |
getSurfaceList()
Get surfaces. |
boolean |
isCompatible(PipePort model)
Returns true if port is compatible with this parameter's extension filter. |
void |
setValue(java.util.List value)
Set the volume collection. |
int |
size()
Returns size of collection. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFileCollection |
---|
add, clean, getExtensionFilter, getHumanReadableDataType, getParameters, getReaderWriter, getValue, getValue, getXMLValue, init, isMandatory, probeDefaultValue, replacePath, set, set, setCollection, setExtensionFilter, setMandatory, setReaderWriter, setXMLValue, toString, validate |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
---|
createMipavParameter, createTreeNode, dispose, equals, getCliTag, getDescription, getFactory, getInputView, getLabel, getName, getOutputView, getShortLabel, getView, hide, importMipavParameter, importParameter, isConnectible, isHidden, loadResources, loadResources, read, read, saveResources, setCliTag, setDescription, setFactory, setHidden, setInputView, setLabel, setLoadAndSaveOnValidate, setName, setOutputView, setShortLabel, toXML, write, write, writeAndFreeNow |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
addListener, disconnect, disconnect, disconnect, disconnect, getGraphPort, getIncomingConnector, getIncomingConnectors, getIncomingPorts, getListeners, getMaxIncoming, getMaxOutgoing, getOutgoingConnector, getOutgoingConnectors, getOutgoingPorts, getOwner, getPortType, isConnected, isConnectedTo, isInputPort, isOutputPort, notifyListenersOfConnection, notifyListenersOfDisconnection, removeAllListeners, removeListener, setConnectable, setGraphPort, setMaxIncoming, setMaxOutgoing, setOwner, setPortType, setUseConnector, usingConnector |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParamSurfaceCollection()
public ParamSurfaceCollection(java.lang.String name)
name
- parameter nameMethod Detail |
---|
public ParamSurface add(java.lang.Object value)
add
in class ParamFileCollection
value
- the value
public void clear()
clear
in interface ObjectCollection<java.io.File>
clear
in class ParamFileCollection
public ParamSurfaceCollection clone()
clone
in class ParamFileCollection
public int compareTo(ParamModel model)
compareTo
in interface java.lang.Comparable<ParamModel>
compareTo
in class ParamFileCollection
model
- the model
protected ParamSurface create(java.lang.Object value)
create
in class ParamFileCollection
value
- the value
public java.util.List<EmbeddedSurface> getSurfaceList()
public boolean isCompatible(PipePort model)
ParamFileCollection
isCompatible
in class ParamFileCollection
model
- the model
public void setValue(java.util.List value)
setValue
in class ParamFileCollection
value
- parameter valuepublic int size()
ObjectCollection
size
in interface ObjectCollection<java.io.File>
size
in class ParamFileCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |