|
|||||||||
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<Point3i> edu.jhu.ece.iacl.jist.pipeline.parameter.ParamPointInteger
public class ParamPointInteger
The Class ParamPointInteger.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
---|
PipePort.PortListener, PipePort.type |
Field Summary | |
---|---|
protected ParamInteger |
px
The px. |
protected ParamInteger |
py
The py. |
protected ParamInteger |
pz
The pz. |
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 | |
---|---|
ParamPointInteger()
Default constructor. |
|
ParamPointInteger(Point3i p)
Constructor. |
|
ParamPointInteger(java.lang.String name,
Point3i p)
Constructor. |
Method Summary | |
---|---|
ParamPointInteger |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare specificity of parameters. |
java.lang.String |
getHumanReadableDataType()
|
ParamInteger |
getParamX()
Get X coordinate. |
ParamInteger |
getParamY()
Get Y coordinate. |
ParamInteger |
getParamZ()
Get Z coordinate. |
Point3i |
getValue()
Get integer point. |
java.lang.String |
getXMLValue()
|
void |
init()
Initialize parameter. |
boolean |
isCompatible(PipePort model)
Check for compatibility between parameters. |
java.lang.String |
probeDefaultValue()
|
void |
setValue(Point3d value)
Set double point value. |
void |
setValue(Point3f value)
Set float point value. |
void |
setValue(Point3i value)
Set integer point value. |
void |
setXMLValue(java.lang.String arg)
|
java.lang.String |
toString()
Get description of point. |
void |
validate()
Validate point coordinates. |
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, 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 ParamInteger px
protected ParamInteger py
protected ParamInteger pz
Constructor Detail |
---|
public ParamPointInteger()
public ParamPointInteger(Point3i p)
p
- pointpublic ParamPointInteger(java.lang.String name, Point3i p)
name
- parameter namep
- pointMethod Detail |
---|
public ParamPointInteger clone()
clone
in class ParamModel<Point3i>
public int compareTo(ParamModel model)
ParamModel
compareTo
in interface java.lang.Comparable<ParamModel>
compareTo
in class ParamModel<Point3i>
model
- the mod
public ParamInteger getParamX()
getParamX
in interface ParamPoint
public ParamInteger getParamY()
getParamY
in interface ParamPoint
public ParamInteger getParamZ()
getParamZ
in interface ParamPoint
public Point3i getValue()
getValue
in class ParamModel<Point3i>
public void init()
init
in class PipePort<Point3i>
public boolean isCompatible(PipePort model)
ParamModel
isCompatible
in class ParamModel<Point3i>
model
- foreign parameter
public void setValue(Point3d value) throws InvalidParameterValueException
setValue
in class ParamModel<Point3i>
value
- the value
InvalidParameterValueException
- the invalid parameter value exceptionpublic void setValue(Point3f value) throws InvalidParameterValueException
setValue
in class ParamModel<Point3i>
value
- point
InvalidParameterValueException
- the invalid parameter value exceptionpublic void setValue(Point3i value) throws InvalidParameterValueException
setValue
in class ParamModel<Point3i>
value
- point
InvalidParameterValueException
- the invalid parameter value exceptionpublic java.lang.String toString()
toString
in class ParamModel<Point3i>
public void validate() throws InvalidParameterException
validate
in class ParamModel<Point3i>
InvalidParameterException
- the invalid parameter exceptionpublic java.lang.String getHumanReadableDataType()
getHumanReadableDataType
in class ParamModel<Point3i>
public java.lang.String getXMLValue()
getXMLValue
in class ParamModel<Point3i>
public void setXMLValue(java.lang.String arg)
setXMLValue
in class ParamModel<Point3i>
public java.lang.String probeDefaultValue()
probeDefaultValue
in class ParamModel<Point3i>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |