public abstract class IDiagramElementProperty
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
TYPE_BOOLEAN |
static char |
TYPE_COLOR |
static char |
TYPE_DIAGRAM |
static char |
TYPE_DIMENSION |
static char |
TYPE_DOUBLE |
static char |
TYPE_INT |
static char |
TYPE_LONG |
static char |
TYPE_MODEL |
static char |
TYPE_POINT |
static char |
TYPE_RECTANGLE |
static char |
TYPE_STRING |
static char |
TYPE_STRING_ARRAY |
Constructor and Description |
---|
IDiagramElementProperty() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getName() |
abstract char |
getType() |
abstract java.lang.Object |
getValue() |
boolean |
getValueAsBoolean() |
java.awt.Color |
getValueAsColor() |
IDiagramUIModel |
getValueAsDiagram() |
IDiagramUIModel[] |
getValueAsDiagramArray() |
java.awt.Dimension |
getValueAsDimension() |
double |
getValueAsDouble() |
int |
getValueAsInt() |
long |
getValueAsLong() |
IModelElement |
getValueAsModel() |
java.awt.geom.Point2D |
getValueAsPoint() |
java.awt.Rectangle |
getValueAsRectangle() |
java.lang.String |
getValueAsString() |
java.lang.String[] |
getValueAsStringArray() |
void |
setValue(boolean value) |
void |
setValue(double value) |
void |
setValue(int value) |
void |
setValue(long value) |
abstract void |
setValue(java.lang.Object value) |
public static final char TYPE_BOOLEAN
public static final char TYPE_COLOR
public static final char TYPE_DIMENSION
public static final char TYPE_DOUBLE
public static final char TYPE_INT
public static final char TYPE_LONG
public static final char TYPE_MODEL
public static final char TYPE_POINT
public static final char TYPE_RECTANGLE
public static final char TYPE_STRING_ARRAY
public static final char TYPE_STRING
public static final char TYPE_DIAGRAM
public abstract java.lang.String getName()
public abstract char getType()
public abstract void setValue(java.lang.Object value)
public abstract java.lang.Object getValue()
public boolean getValueAsBoolean()
public int getValueAsInt()
public long getValueAsLong()
public double getValueAsDouble()
public java.lang.String getValueAsString()
public java.lang.String[] getValueAsStringArray()
public java.awt.geom.Point2D getValueAsPoint()
public java.awt.Dimension getValueAsDimension()
public java.awt.Rectangle getValueAsRectangle()
public java.awt.Color getValueAsColor()
public IModelElement getValueAsModel()
public IDiagramUIModel getValueAsDiagram()
public IDiagramUIModel[] getValueAsDiagramArray()
public void setValue(boolean value)
public void setValue(int value)
public void setValue(long value)
public void setValue(double value)