Gephi Toolkit Javadoc

org.gephi.preview.api
Interface Node


public interface Node

Interface of a preview node.

Author:
Jérémy Subtil

Method Summary
 Color getBorderColor()
          Returns the node's border color.
 java.lang.Float getBorderWidth()
          Returns the node's border width.
 Point getBottomRightPosition()
          Returns the node's bottom right position.
 Color getColor()
          Returns the node's current color.
 Holder<Color> getColorHolder()
          Returns the node's color holder.
 java.lang.Float getDiameter()
          Returns the node's diameter.
 NodeLabel getLabel()
          Returns the node's label.
 NodeLabelBorder getLabelBorder()
          Returns the node's label border.
 Point getPosition()
          Returns the node's position.
 java.lang.Float getRadius()
          Returns the node's radius.
 Point getTopLeftPosition()
          Returns the node's top left position.
 boolean hasLabel()
          Returns whether or not the node has a label.
 java.lang.Boolean showLabel()
          Returns whether or not the node's label must be displayed.
 java.lang.Boolean showLabelBorders()
          Returns whether or not the node's label borders must be displayed.
 

Method Detail

hasLabel

boolean hasLabel()
Returns whether or not the node has a label.

Returns:
true if the node has a label

getTopLeftPosition

Point getTopLeftPosition()
Returns the node's top left position.

Returns:
the node's top left position

getBottomRightPosition

Point getBottomRightPosition()
Returns the node's bottom right position.

Returns:
the node's bottom right position

getColor

Color getColor()
Returns the node's current color.

Returns:
the node's current color

getPosition

Point getPosition()
Returns the node's position.

Returns:
the node's position

getRadius

java.lang.Float getRadius()
Returns the node's radius.

Returns:
the node's radius

getDiameter

java.lang.Float getDiameter()
Returns the node's diameter.

Returns:
the node's diameter

getLabelBorder

NodeLabelBorder getLabelBorder()
Returns the node's label border.

Returns:
the node's label border

getLabel

NodeLabel getLabel()
Returns the node's label.

Returns:
the node's label

getBorderColor

Color getBorderColor()
Returns the node's border color.

Returns:
the node's border color

getBorderWidth

java.lang.Float getBorderWidth()
Returns the node's border width.

Returns:
the node's border width

showLabel

java.lang.Boolean showLabel()
Returns whether or not the node's label must be displayed.

Returns:
true to display the node's label

showLabelBorders

java.lang.Boolean showLabelBorders()
Returns whether or not the node's label borders must be displayed.

Returns:
true to display the node's label borders

getColorHolder

Holder<Color> getColorHolder()
Returns the node's color holder.

Returns:
the node's color holder

Gephi Toolkit Javadoc