|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipePort<T>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel<java.io.File>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamObject<EmbeddedSurface>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamSurface
public class ParamSurface
Surface parameter file.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile |
---|
ParamFile.DialogType |
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.ParamObject |
---|
obj, readerWriter |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile |
---|
dialogType, extensionFilter, file, uri |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
---|
cliTag, description, factory, hidden, label, loadAndSaveOnValidate, mandatory, shortLabel |
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
Constructor Summary | |
---|---|
ParamSurface(ParamFile.DialogType type)
Constructor. |
|
ParamSurface(java.lang.String name)
Construct parameter for a mandatory file type. |
|
ParamSurface(java.lang.String name,
ParamFile.DialogType type)
Construct parameter with specified restrictions. |
Method Summary | |
---|---|
ParamSurface |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare two parameters based on their dialog types, extensionFilters, and mandatory fields F *. |
EmbeddedSurface |
getObject()
Get Surface. |
EmbeddedSurface |
getSurface()
Get surface. |
void |
init()
Initialize parameter. |
boolean |
isCompatible(PipePort model)
Returns true if port is compatible with this parameter's extension filter. |
void |
setObject(EmbeddedSurface obj)
Set surface. |
void |
setValue(EmbeddedSurface value)
Set surface. |
java.lang.String |
toString()
Get description of surface. |
void |
validate()
validate surface. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamObject |
---|
getReaderWriter, setFileName, setReaderWriter, setValue, setValue, writeObject |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamFile |
---|
clean, getDialogType, getExtensionFilter, getHumanReadableDataType, getURI, getValue, getXMLValue, probeDefaultValue, replacePath, setExtensionFilter, setValue, setXMLValue, translatePath |
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, isMandatory, loadResources, loadResources, read, read, saveResources, setCliTag, setDescription, setFactory, setHidden, setInputView, setLabel, setLoadAndSaveOnValidate, setMandatory, 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 ParamSurface(ParamFile.DialogType type)
type
- the typepublic ParamSurface(java.lang.String name)
name
- parameter namepublic ParamSurface(java.lang.String name, ParamFile.DialogType type)
name
- parameter nametype
- directory or file dialogMethod Detail |
---|
public ParamSurface clone()
clone
in class ParamObject<EmbeddedSurface>
public int compareTo(ParamModel model)
ParamFile
compareTo
in interface java.lang.Comparable<ParamModel>
compareTo
in class ParamFile
model
- the model
public EmbeddedSurface getObject()
getObject
in class ParamObject<EmbeddedSurface>
public EmbeddedSurface getSurface()
public void init()
init
in class ParamObject<EmbeddedSurface>
public boolean isCompatible(PipePort model)
ParamFile
isCompatible
in class ParamFile
model
- the model
public void setObject(EmbeddedSurface obj)
setObject
in class ParamObject<EmbeddedSurface>
obj
- the objpublic void setValue(EmbeddedSurface value)
value
- the valuepublic java.lang.String toString()
toString
in class ParamObject<EmbeddedSurface>
public void validate() throws InvalidParameterException
validate
in class ParamObject<EmbeddedSurface>
InvalidParameterException
- the invalid parameter exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |