|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.property.ShapeHandler
public final class ShapeHandler
Final ShapeHandler implementation which keeps a
ShapeModel to request Shape objects from.
| Nested Class Summary | |
|---|---|
(package private) static interface |
ShapeHandler.ShapeModel
Internal ShapeModel used to request Shape
objects by DataCell attribute value. |
| Constructor Summary | |
|---|---|
ShapeHandler(ShapeHandler.ShapeModel model)
Creates a new ShapeHandler based on the the given
ShapeModel. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ShapeFactory.Shape |
getShape(DataCell dc)
Returns a Shape of the given DataCell. |
int |
hashCode()
|
static ShapeHandler |
load(ConfigRO config)
Reads ShapeModel from the given Config and
returns a new ShapeHandler. |
void |
save(ConfigWO config)
Save the ShapeModel class and settings to the given
Config. |
String |
toString()
Returns a string summary of the underlying ShapeHandler.ShapeModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeHandler(ShapeHandler.ShapeModel model)
ShapeHandler based on the the given
ShapeModel.
model - The model for shapes.
IllegalArgumentException - If the model is
null.| Method Detail |
|---|
public ShapeFactory.Shape getShape(DataCell dc)
Shape of the given DataCell.
dc - Value to be used to get a Shape for.
Shape object.public void save(ConfigWO config)
ShapeModel class and settings to the given
Config.
config - To write ShapeModel into.
NullPointerException - If the config is null.
public static ShapeHandler load(ConfigRO config)
throws InvalidSettingsException
ShapeModel from the given Config and
returns a new ShapeHandler.
config - Read ShapeModel from.
ShapeHandler object.
InvalidSettingsException - The the ShapeModel could
not be read.
NullPointerException - If the config is null.public String toString()
ShapeHandler.ShapeModel.
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||