jdsl.extension.LEDA
Class Parameters

java.lang.Object
  |
  +--jdsl.extension.LEDA.Parameters
Direct Known Subclasses:
EdgeParameters, NodeParameters

public class Parameters
extends java.lang.Object

This class contains only constants for easy global access.


Field Summary
static int BEZIER
          A valid shape for edges: bezier curves.
static Color BLACK
          A valid color: black.
static Color BLUE
          A valid color: blue.
static Color BLUE2
          A valid color: dark blue.
static int BORDERWIDTH0
          A valid border width (for nodes and edges).
static int BORDERWIDTH1
          A valid border width (for nodes and edges).
static int BORDERWIDTH2
          A valid border width (for nodes and edges).
static int BORDERWIDTH3
          A valid border width (for nodes and edges).
static int BORDERWIDTH4
          A valid border width (for nodes and edges).
static int BORDERWIDTH5
          A valid border width (for nodes and edges).
static int BORDERWIDTH6
          A valid border width (for nodes and edges).
static Color BROWN
          A valid color: brown.
static Color CYAN
          A valid color: cyan.
static int DASHED
          A valid style type for edges: a dashed line.
static int DASHEDDOTTED
          A valid style type for edges: a dashed and dotted line.
static int DATA
          A valid label type: data defined label.
static int DATAINDEX
          A valid label type: data and index defined label.
static Color DEFAULTCOLOR
          A valid color: standard color.
static int DOTTED
          A valid style type for edges: a dotted line.
static int EDGE_CIRCLE
          A valid shape for edges: circled line.
static int EDGELIKE
          A valid direction for edges: use same type as representation in graph.
static int ELLIPSE
          A valid shape for nodes: ellipse.
static Color GREEN
          A valid color: green.
static Color GREEN2
          A valid color: dark green.
static Color GREY1
          A valid color: light grey.
static Color GREY2
          A valid color: grey.
static Color GREY3
          A valid color: dark grey.
static int INDEX
          A valid label type: index defined label.
static Color INVISIBLE
          A valid color: invisible.
static int LINE
          A valid style type for edges: solid line.
static int LPOS_ABOVE
          A valid label position for edges: upper left corner.
static int LPOS_C
          A valid label position for nodes: center position.
static int LPOS_E
          A valid label position for nodes: right position.
static int LPOS_N
          A valid label position for nodes: upper middle position.
static int LPOS_NE
          A valid label position for nodes: upper right corner.
static int LPOS_NW
          A valid label position for nodes: upper left corner.
static int LPOS_ON
          A valid label position for edges: upper left corner.
static int LPOS_S
          A valid label position for nodes: lower middle position.
static int LPOS_SE
          A valid label position for nodes: lower right corner.
static int LPOS_SW
          A valid label position for nodes: lower left corner.
static int LPOS_UNDER
          A valid label position for edges: upper left corner.
static int LPOS_W
          A valid label position for nodes: left position.
static int MIDDLELEFT
          A valid direction for edges: the left arrow appears (in the middel of the edge).
static int MIDDLERIGHT
          A valid direction for edges: the right arrow appears (in the middel of the edge).
static int NOARROW
          A valid direction for edges: no arrows.
static int NODE_CIRCLE
          A valid shape for nodes: circle.
static int NON
          A valid label type: no label.
static Color ORANGE
          A valid color: orange.
static int OVAL
          A valid shape for nodes: oval.
static Color PINK
          A valid color: pink.
static int POLY
          A valid shape for edges: a line with possibil bends.
static int RECTANGLE
          A valid shape for nodes: rectangle.
static Color RED
          A valid color: red.
static int RHOMBUS
          A valid shape for nodes: rhombus.
static int SMOOTHRECTANGLE
          A valid shape for nodes: smooth rectangle.
static int SPLINE
          A valid shape for edges: spline curves.
static int SQUARE
          A valid shape for nodes: square.
static int TOLEFT
          A valid direction for edges: arrow shows reversed direction.
static int TOLEFTRIGHT
          A valid direction for edges: both arrows appear.
static int TORIGHT
          A valid direction for edges: arrow shows correct direction.
static int TORIGHTLEFT
          A valid direction for edges: both arrows appear (in the middel of the edge).
static int USER
          A valid label type: user defined label.
static int USERDATA
          A valid label type: user and data defined label.
static int USERDATAINDEX
          A valid label type: user, data and index defined label.
static int USERINDEX
          A valid label type: user and index defined label.
static Color VIOLET
          A valid color: violet
static Color WHITE
          A valid color: white.
static Color YELLOW
          A valid color: yellow.
 
Constructor Summary
Parameters()
           
 
Method Summary
 Color getColor()
          Returns current color.
 int getColorIndex()
          Returns current color-index.
 java.lang.String getLabel()
          Returns current label.
 Color getLabelColor()
          Returns current color (of label).
 int getLabelColorIndex()
          Returns current color (of label).
 int getLabelPosition()
          Returns current label position.
 int getLabelType()
          Returns current label type.
 int getShape()
          Returns current shape.
 void setColor(Color arg)
          Sets a new color.
 void setColor(int arg)
          Sets a new color-index.
 void setLabel(java.lang.String arg)
          Sets a new label.
 void setLabelColor(Color arg)
          Changes label's color.
 void setLabelColor(int arg)
          Sets a new color for border.
 void setLabelPosition(int arg)
          Sets a new label position.
 void setLabelType(int arg)
          Sets a new label type.
 void setShape(int arg)
          Sets a new Shape.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVISIBLE

public static final Color INVISIBLE
A valid color: invisible.
See Also:
WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

WHITE

public static final Color WHITE
A valid color: white.
See Also:
INVISIBLE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

BLACK

public static final Color BLACK
A valid color: black.
See Also:
INVISIBLE, WHITE, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

RED

public static final Color RED
A valid color: red.
See Also:
INVISIBLE, WHITE, BLACK, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

GREEN

public static final Color GREEN
A valid color: green.
See Also:
INVISIBLE, WHITE, BLACK, RED, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

BLUE

public static final Color BLUE
A valid color: blue.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

YELLOW

public static final Color YELLOW
A valid color: yellow.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

VIOLET

public static final Color VIOLET
A valid color: violet
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

ORANGE

public static final Color ORANGE
A valid color: orange.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

CYAN

public static final Color CYAN
A valid color: cyan.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

BROWN

public static final Color BROWN
A valid color: brown.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

PINK

public static final Color PINK
A valid color: pink.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

GREEN2

public static final Color GREEN2
A valid color: dark green.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

BLUE2

public static final Color BLUE2
A valid color: dark blue.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, GREY1, GREY2, GREY3, DEFAULTCOLOR

GREY1

public static final Color GREY1
A valid color: light grey.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY2, GREY3, DEFAULTCOLOR

GREY2

public static final Color GREY2
A valid color: grey.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY3, DEFAULTCOLOR

GREY3

public static final Color GREY3
A valid color: dark grey.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, DEFAULTCOLOR

DEFAULTCOLOR

public static final Color DEFAULTCOLOR
A valid color: standard color.
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3

NODE_CIRCLE

public static final int NODE_CIRCLE
A valid shape for nodes: circle.
See Also:
ELLIPSE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, OVAL, RHOMBUS

ELLIPSE

public static final int ELLIPSE
A valid shape for nodes: ellipse.
See Also:
NODE_CIRCLE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, OVAL, RHOMBUS

SQUARE

public static final int SQUARE
A valid shape for nodes: square.
See Also:
NODE_CIRCLE, ELLIPSE, RECTANGLE, SMOOTHRECTANGLE, OVAL, RHOMBUS

RECTANGLE

public static final int RECTANGLE
A valid shape for nodes: rectangle.
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, SMOOTHRECTANGLE, OVAL, RHOMBUS

SMOOTHRECTANGLE

public static final int SMOOTHRECTANGLE
A valid shape for nodes: smooth rectangle.
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, RECTANGLE, OVAL, RHOMBUS

OVAL

public static final int OVAL
A valid shape for nodes: oval.
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, RHOMBUS

RHOMBUS

public static final int RHOMBUS
A valid shape for nodes: rhombus.
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, OVAL

POLY

public static final int POLY
A valid shape for edges: a line with possibil bends.
See Also:
EDGE_CIRCLE, BEZIER, SPLINE

EDGE_CIRCLE

public static final int EDGE_CIRCLE
A valid shape for edges: circled line.
See Also:
POLY, BEZIER, SPLINE

BEZIER

public static final int BEZIER
A valid shape for edges: bezier curves.
See Also:
POLY, EDGE_CIRCLE, SPLINE

SPLINE

public static final int SPLINE
A valid shape for edges: spline curves.
See Also:
POLY, EDGE_CIRCLE, BEZIER

NON

public static final int NON
A valid label type: no label.
See Also:
USER, DATA, INDEX, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

USER

public static final int USER
A valid label type: user defined label.
See Also:
NON, DATA, INDEX, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

DATA

public static final int DATA
A valid label type: data defined label.
See Also:
NON, USER, INDEX, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

INDEX

public static final int INDEX
A valid label type: index defined label.
See Also:
NON, USER, DATA, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

USERDATA

public static final int USERDATA
A valid label type: user and data defined label.
See Also:
NON, USER, DATA, INDEX, USERINDEX, DATAINDEX, USERDATAINDEX

USERINDEX

public static final int USERINDEX
A valid label type: user and index defined label.
See Also:
NON, USER, DATA, INDEX, USERDATA, DATAINDEX, USERDATAINDEX

DATAINDEX

public static final int DATAINDEX
A valid label type: data and index defined label.
See Also:
NON, USER, DATA, INDEX, USERDATA, USERINDEX, USERDATAINDEX

USERDATAINDEX

public static final int USERDATAINDEX
A valid label type: user, data and index defined label.
See Also:
NON, USER, DATA, INDEX, USERDATA, USERINDEX, DATAINDEX

LPOS_NW

public static final int LPOS_NW
A valid label position for nodes: upper left corner.
See Also:
LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

LPOS_N

public static final int LPOS_N
A valid label position for nodes: upper middle position.
See Also:
LPOS_NW, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

LPOS_NE

public static final int LPOS_NE
A valid label position for nodes: upper right corner.
See Also:
LPOS_NW, LPOS_N, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

LPOS_W

public static final int LPOS_W
A valid label position for nodes: left position.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

LPOS_C

public static final int LPOS_C
A valid label position for nodes: center position.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

LPOS_E

public static final int LPOS_E
A valid label position for nodes: right position.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_SW, LPOS_S, LPOS_SE

LPOS_SW

public static final int LPOS_SW
A valid label position for nodes: lower left corner.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_S, LPOS_SE

LPOS_S

public static final int LPOS_S
A valid label position for nodes: lower middle position.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_SE

LPOS_SE

public static final int LPOS_SE
A valid label position for nodes: lower right corner.
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S

LPOS_ABOVE

public static final int LPOS_ABOVE
A valid label position for edges: upper left corner.
See Also:
LPOS_ON, LPOS_UNDER

LPOS_ON

public static final int LPOS_ON
A valid label position for edges: upper left corner.
See Also:
LPOS_ABOVE, LPOS_UNDER

LPOS_UNDER

public static final int LPOS_UNDER
A valid label position for edges: upper left corner.
See Also:
LPOS_ABOVE, LPOS_ON

LINE

public static final int LINE
A valid style type for edges: solid line.
See Also:
DASHED, DOTTED, DASHEDDOTTED

DASHED

public static final int DASHED
A valid style type for edges: a dashed line.
See Also:
LINE, DOTTED, DASHEDDOTTED

DOTTED

public static final int DOTTED
A valid style type for edges: a dotted line.
See Also:
LINE, DASHED, DASHEDDOTTED

DASHEDDOTTED

public static final int DASHEDDOTTED
A valid style type for edges: a dashed and dotted line.
See Also:
LINE, DASHED, DOTTED

EDGELIKE

public static final int EDGELIKE
A valid direction for edges: use same type as representation in graph.

Note:
If edge is undirected no arrow apprears, otherwise arrow shows edge's direction.
See Also:
NOARROW, TORIGHT, TOLEFT, TOLEFTRIGHT, TORIGHTLEFT

NOARROW

public static final int NOARROW
A valid direction for edges: no arrows. It looks like: ------
See Also:
EDGELIKE, TORIGHT, TOLEFT, TOLEFTRIGHT, TORIGHTLEFT, MIDDLERIGHT, MIDDLELEFT

TORIGHT

public static final int TORIGHT
A valid direction for edges: arrow shows correct direction. It looks like: ----->

Note:
If edge is undirected TOLEFTRIGHT will be set.
See Also:
EDGELIKE, NOARROW, TOLEFT, TOLEFTRIGHT, TORIGHTLEFT, MIDDLERIGHT, MIDDLELEFT

TOLEFT

public static final int TOLEFT
A valid direction for edges: arrow shows reversed direction. It looks like: <-----

Note:
If edge is undirected TORIGHTLEFT will be set.
See Also:
EDGELIKE, NOARROW, TORIGHT, TOLEFTRIGHT, TORIGHTLEFT, MIDDLERIGHT, MIDDLELEFT

TOLEFTRIGHT

public static final int TOLEFTRIGHT
A valid direction for edges: both arrows appear. It looks like: <---->

Note:
If edge is directed TOLEFT will be set.
See Also:
EDGELIKE, NOARROW, TORIGHT, TOLEFT, TORIGHTLEFT, MIDDLERIGHT, MIDDLELEFT

TORIGHTLEFT

public static final int TORIGHTLEFT
A valid direction for edges: both arrows appear (in the middel of the edge). It looks like: --><--

Note:
If edge is directed TORIGHT will be set.
See Also:
EDGELIKE, NOARROW, TORIGHT, TOLEFT, TOLEFTRIGHT, MIDDLERIGHT, MIDDLELEFT

MIDDLERIGHT

public static final int MIDDLERIGHT
A valid direction for edges: the right arrow appears (in the middel of the edge). It looks like: -->---

Note:
If edge is undirected TOLEFTRIGHT will be set.
See Also:
EDGELIKE, NOARROW, TORIGHT, TOLEFT, TOLEFTRIGHT, MIDDLELEFT

MIDDLELEFT

public static final int MIDDLELEFT
A valid direction for edges: the left arrow appears (in the middel of the edge). It looks like: ---<--

Note:
If edge is undirected TORIGHTLEFT will be set.
See Also:
EDGELIKE, NOARROW, TORIGHT, TOLEFT, TOLEFTRIGHT, MIDDLERIGHT

BORDERWIDTH0

public static final int BORDERWIDTH0
A valid border width (for nodes and edges). This represents width zero.
See Also:
BORDERWIDTH1, BORDERWIDTH2, BORDERWIDTH3, BORDERWIDTH4, BORDERWIDTH5, BORDERWIDTH6

BORDERWIDTH1

public static final int BORDERWIDTH1
A valid border width (for nodes and edges). This represents width one.
See Also:
BORDERWIDTH0, BORDERWIDTH2, BORDERWIDTH3, BORDERWIDTH4, BORDERWIDTH5, BORDERWIDTH6

BORDERWIDTH2

public static final int BORDERWIDTH2
A valid border width (for nodes and edges). This represents width two.
See Also:
BORDERWIDTH0, BORDERWIDTH1, BORDERWIDTH3, BORDERWIDTH4, BORDERWIDTH5, BORDERWIDTH6

BORDERWIDTH3

public static final int BORDERWIDTH3
A valid border width (for nodes and edges). This represents width three.
See Also:
BORDERWIDTH0, BORDERWIDTH1, BORDERWIDTH2, BORDERWIDTH4, BORDERWIDTH5, BORDERWIDTH6

BORDERWIDTH4

public static final int BORDERWIDTH4
A valid border width (for nodes and edges). This represents width four.
See Also:
BORDERWIDTH0, BORDERWIDTH1, BORDERWIDTH2, BORDERWIDTH3, BORDERWIDTH5, BORDERWIDTH6

BORDERWIDTH5

public static final int BORDERWIDTH5
A valid border width (for nodes and edges). This represents width five.
See Also:
BORDERWIDTH0, BORDERWIDTH1, BORDERWIDTH2, BORDERWIDTH3, BORDERWIDTH4, BORDERWIDTH6

BORDERWIDTH6

public static final int BORDERWIDTH6
A valid border width (for nodes and edges). This represents width six.
See Also:
BORDERWIDTH0, BORDERWIDTH1, BORDERWIDTH2, BORDERWIDTH3, BORDERWIDTH4, BORDERWIDTH5
Constructor Detail

Parameters

public Parameters()
Method Detail

setColor

public void setColor(Color arg)
Sets a new color.
Parameters:
arg - a valid color
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

setColor

public void setColor(int arg)
Sets a new color-index.
Parameters:
arg - a valid color-index
See Also:
Color.INVISIBLE, Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, Color.VIOLET, Color.ORANGE, Color.CYAN, Color.BROWN, Color.PINK, Color.GREEN2, Color.BLUE2, Color.GREY1, Color.GREY2, Color.GREY3, Color.DEFAULTCOLOR

setShape

public void setShape(int arg)
Sets a new Shape.
Parameters:
arg - a valid shape
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, OVAL, RHOMBUS

setLabelType

public void setLabelType(int arg)
Sets a new label type.
Parameters:
arg - a valid label type
See Also:
NON, USER, DATA, INDEX, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

setLabelColor

public void setLabelColor(Color arg)
Changes label's color.
Parameters:
arg - a valid color
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

setLabelColor

public void setLabelColor(int arg)
Sets a new color for border.
Parameters:
arg - a valid color-index
See Also:
Color.INVISIBLE, Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, Color.VIOLET, Color.ORANGE, Color.CYAN, Color.BROWN, Color.PINK, Color.GREEN2, Color.BLUE2, Color.GREY1, Color.GREY2, Color.GREY3, Color.DEFAULTCOLOR

setLabelPosition

public void setLabelPosition(int arg)
Sets a new label position.
Parameters:
arg - a valid label position
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

setLabel

public void setLabel(java.lang.String arg)
Sets a new label.
Parameters:
arg - a string

getColor

public Color getColor()
Returns current color.
Returns:
a valid color
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

getColorIndex

public int getColorIndex()
Returns current color-index.
Returns:
a valid color
See Also:
Color.INVISIBLE, Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, Color.VIOLET, Color.ORANGE, Color.CYAN, Color.BROWN, Color.PINK, Color.GREEN2, Color.BLUE2, Color.GREY1, Color.GREY2, Color.GREY3, Color.DEFAULTCOLOR

getShape

public int getShape()
Returns current shape.
Returns:
a valid shape
See Also:
NODE_CIRCLE, ELLIPSE, SQUARE, RECTANGLE, SMOOTHRECTANGLE, OVAL, RHOMBUS

getLabelType

public int getLabelType()
Returns current label type.
Returns:
a valid label type
See Also:
NON, USER, DATA, INDEX, USERDATA, USERINDEX, DATAINDEX, USERDATAINDEX

getLabelColor

public Color getLabelColor()
Returns current color (of label).
Returns:
a valid color
See Also:
INVISIBLE, WHITE, BLACK, RED, GREEN, BLUE, YELLOW, VIOLET, ORANGE, CYAN, BROWN, PINK, GREEN2, BLUE2, GREY1, GREY2, GREY3, DEFAULTCOLOR

getLabelColorIndex

public int getLabelColorIndex()
Returns current color (of label).
Returns:
a valid color-index
See Also:
Color.INVISIBLE, Color.WHITE, Color.BLACK, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, Color.VIOLET, Color.ORANGE, Color.CYAN, Color.BROWN, Color.PINK, Color.GREEN2, Color.BLUE2, Color.GREY1, Color.GREY2, Color.GREY3, Color.DEFAULTCOLOR

getLabelPosition

public int getLabelPosition()
Returns current label position.
Returns:
a valid position
See Also:
LPOS_NW, LPOS_N, LPOS_NE, LPOS_W, LPOS_C, LPOS_E, LPOS_SW, LPOS_S, LPOS_SE

getLabel

public java.lang.String getLabel()
Returns current label.
Returns:
a string