|
|||||||||
| 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.awt.Color>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamColor
public class ParamColor
The Class ParamColor.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
PipePort.PortListener, PipePort.type |
| Field Summary | |
|---|---|
protected java.awt.Color |
color
The color. |
| 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 | |
|---|---|
ParamColor()
Default constructor. |
|
ParamColor(java.awt.Color p)
Instantiates a new param color. |
|
ParamColor(java.lang.String name)
Constructor. |
|
ParamColor(java.lang.String name,
java.awt.Color p)
Instantiates a new parameter color. |
|
| Method Summary | |
|---|---|
ParamColor |
clone()
Clone parameter. |
int |
compareTo(ParamModel model)
Compare to. |
java.lang.String |
getHumanReadableDataType()
|
java.awt.Color |
getValue()
Get the value stored in the parameter. |
java.lang.String |
getXMLValue()
|
void |
init()
Initialize parameter. |
boolean |
isCompatible(PipePort model)
Checks if is compatible. |
java.lang.String |
probeDefaultValue()
|
void |
setValue(java.awt.Color value)
Set color value. |
void |
setXMLValue(java.lang.String arg)
|
java.lang.String |
toString()
Get description of color. |
void |
validate()
Validate color. |
| 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 java.awt.Color color
| Constructor Detail |
|---|
public ParamColor()
public ParamColor(java.awt.Color p)
p - the ppublic ParamColor(java.lang.String name)
name - parameter name
public ParamColor(java.lang.String name,
java.awt.Color p)
name - the namep - the p| Method Detail |
|---|
public ParamColor clone()
PipePort
clone in class ParamModel<java.awt.Color>public int compareTo(ParamModel model)
compareTo in interface java.lang.Comparable<ParamModel>compareTo in class ParamModel<java.awt.Color>model - the model
ParamModel.compareTo(edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel)public java.awt.Color getValue()
ParamModel
getValue in class ParamModel<java.awt.Color>public void init()
init in class PipePort<java.awt.Color>public boolean isCompatible(PipePort model)
isCompatible in class ParamModel<java.awt.Color>model - the model
ParamModel.isCompatible(edu.jhu.ece.iacl.jist.pipeline.PipePort)
public void setValue(java.awt.Color value)
throws InvalidParameterValueException
setValue in class ParamModel<java.awt.Color>value - the color
InvalidParameterValueException - the invalid parameter value exceptionpublic java.lang.String toString()
toString in class ParamModel<java.awt.Color>
public void validate()
throws InvalidParameterException
validate in class ParamModel<java.awt.Color>InvalidParameterException - the invalid parameter exceptionpublic java.lang.String getHumanReadableDataType()
getHumanReadableDataType in class ParamModel<java.awt.Color>public java.lang.String getXMLValue()
getXMLValue in class ParamModel<java.awt.Color>public void setXMLValue(java.lang.String arg)
setXMLValue in class ParamModel<java.awt.Color>public java.lang.String probeDefaultValue()
probeDefaultValue in class ParamModel<java.awt.Color>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||