|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.AbstractSimplePortObjectSpec
org.knime.core.node.port.image.ImagePortObjectSpec
public final class ImagePortObjectSpec
Port object spec to an ImagePortObject. It only wraps the
DataType of the cell that would be generated by the port objects
ImagePortObject.toDataCell() method.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.node.port.PortObjectSpec |
|---|
PortObjectSpec.PortObjectSpecSerializer<T extends PortObjectSpec> |
| Constructor Summary | |
|---|---|
ImagePortObjectSpec()
Framework constructor - do not use. The constructor is required by the super class implementation to restort the content. |
|
ImagePortObjectSpec(DataType type)
Constructor to be used. |
|
| Method Summary | |
|---|---|
DataType |
getDataType()
Get the DataType of the cell that will be generated by the
port objects ImagePortObject.toDataCell() method. |
JComponent[] |
getViews()
The returned views are displayed in the out port view of the referring node. |
protected void |
load(ModelContentRO model)
Loads the content into the freshly instantiated object. |
protected void |
save(ModelContentWO model)
Saves this object to model content object. |
| Methods inherited from class org.knime.core.node.port.AbstractSimplePortObjectSpec |
|---|
equals, getPortObjectSpecSerializer, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagePortObjectSpec(DataType type)
type - The type of the cell (see class description for details).public ImagePortObjectSpec()
| Method Detail |
|---|
public DataType getDataType()
DataType of the cell that will be generated by the
port objects ImagePortObject.toDataCell() method.
public JComponent[] getViews()
getViews in interface PortObjectSpecgetViews in class AbstractSimplePortObjectSpec
protected void load(ModelContentRO model)
throws InvalidSettingsException
load in class AbstractSimplePortObjectSpecmodel - To load from.
InvalidSettingsException - If settings are incomplete/deficient.protected void save(ModelContentWO model)
save in class AbstractSimplePortObjectSpecmodel - To save to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||