|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upc.dama.dex.core.Export.NodeExport
public static class Export.NodeExport
Stores the node exporting values.
| Nested Class Summary | |
|---|---|
static class |
Export.NodeExport.Shape
Node shape. |
| Constructor Summary | |
|---|---|
Export.NodeExport()
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Gets the node color. |
java.awt.Color |
getColorLabel()
Gets the node label color. |
short |
getFontSize()
Gets the node label font size. |
short |
getHeight()
Gets the node height. |
java.lang.String |
getLabel()
Gets the node label. |
Export.NodeExport.Shape |
getShape()
Gets the node shape. |
short |
getWidth()
Gets the node width. |
boolean |
isFit()
Gets whether the node size is fitted to the label or not. |
void |
setColor(java.awt.Color color)
Sets the node color. |
void |
setColorLabel(java.awt.Color colorLabel)
Sets the node label color. |
void |
setFit(boolean fit)
Sets the node fit property. |
void |
setFontSize(short fontSize)
Sets the node label font size. |
void |
setHeight(short height)
Sets the node height. |
void |
setLabel(java.lang.String label)
Sets the node label. |
void |
setShape(Export.NodeExport.Shape shape)
Sets the node shape. |
void |
setWidth(short width)
Gets the node width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Export.NodeExport()
| Method Detail |
|---|
public java.lang.String getLabel()
null is the default value, that is no label.
public void setLabel(java.lang.String label)
label - The node label.public Export.NodeExport.Shape getShape()
Default value is Export.NodeExport.Shape.BOX.
Export.NodeExport.Shapepublic void setShape(Export.NodeExport.Shape shape)
shape - The node shape.Export.NodeExport.Shapepublic java.awt.Color getColor()
0xa5c3f6 is the default value.
public void setColor(java.awt.Color color)
color - The node color.public java.awt.Color getColorLabel()
Black is the default value.
public void setColorLabel(java.awt.Color colorLabel)
colorLabel - The node label color.public short getHeight()
25px is the default value.
public void setHeight(short height)
height - The node height in pixels.public short getWidth()
25px is the default value.
public void setWidth(short width)
width - The node width in pixels.public boolean isFit()
true is the default value.
true, then the node size
is fitted to the label (Export.NodeExport.height
and Export.NodeExport.width will be ignored), otherwise the size
is fixed with the values of Export.NodeExport.height
and Export.NodeExport.width.public void setFit(boolean fit)
fit - If true, then the node size
is fitted to the label(Export.NodeExport.height
and Export.NodeExport.width will be ignored), otherwise the size
is fixed with the values of Export.NodeExport.height
and Export.NodeExport.width.public short getFontSize()
10 is the default value.
public void setFontSize(short fontSize)
fontSize - The node label font size.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||