|
|||||||||
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.lang.String> edu.jhu.ece.iacl.jist.pipeline.parameter.ParamString
public class ParamString
String parameter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
PipePort.PortListener, PipePort.type |
Field Summary | |
---|---|
protected java.lang.String |
string
The string. |
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 | |
---|---|
ParamString()
Constructor. |
|
ParamString(java.lang.String name)
Constructor. |
|
ParamString(java.lang.String name,
java.lang.String str)
Constructor. |
Method Summary | |
---|---|
ParamString |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare specificity of parameters. |
java.lang.String |
getHumanReadableDataType()
|
java.lang.String |
getValue()
Get string. |
java.lang.String |
getXMLValue()
|
void |
init()
Initialize parameter. |
java.lang.String |
probeDefaultValue()
|
void |
setValue(java.lang.String value)
Set string. |
void |
setXMLValue(java.lang.String arg)
|
java.lang.String |
toString()
Get string. |
void |
validate()
validate string. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
---|
clean, createMipavParameter, createTreeNode, dispose, equals, getCliTag, getDescription, getFactory, getInputView, getLabel, getName, getOutputView, getShortLabel, getView, hide, importMipavParameter, importParameter, isCompatible, isConnectible, isHidden, isMandatory, loadResources, loadResources, read, read, replacePath, 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 |
Field Detail |
---|
protected java.lang.String string
Constructor Detail |
---|
public ParamString()
public ParamString(java.lang.String name)
name
- parameter namepublic ParamString(java.lang.String name, java.lang.String str)
name
- parameter namestr
- stringMethod Detail |
---|
public ParamString clone()
clone
in class ParamModel<java.lang.String>
public int compareTo(ParamModel model)
ParamModel
compareTo
in interface java.lang.Comparable<ParamModel>
compareTo
in class ParamModel<java.lang.String>
model
- the mod
public java.lang.String getValue()
getValue
in class ParamModel<java.lang.String>
public void init()
init
in class PipePort<java.lang.String>
public void setValue(java.lang.String value) throws InvalidParameterValueException
setValue
in class ParamModel<java.lang.String>
value
- the value
InvalidParameterValueException
- the invalid parameter value exceptionpublic java.lang.String toString()
toString
in class ParamModel<java.lang.String>
public void validate() throws InvalidParameterException
validate
in class ParamModel<java.lang.String>
InvalidParameterException
- the invalid parameter exceptionpublic java.lang.String getHumanReadableDataType()
getHumanReadableDataType
in class ParamModel<java.lang.String>
public java.lang.String getXMLValue()
getXMLValue
in class ParamModel<java.lang.String>
public void setXMLValue(java.lang.String arg)
setXMLValue
in class ParamModel<java.lang.String>
public java.lang.String probeDefaultValue()
probeDefaultValue
in class ParamModel<java.lang.String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |