|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetcharts.pro.common.NFBaseClass
netcharts.pro.charts.diagram.NFNode
public class NFNode
The NFNode object represents a textual, image, shape, or a point on a diagram chart. Lines may be drawn between nodes by use of the NFNodeEdge class.
Constructor Summary | |
---|---|
NFNode()
Constructs a default node. |
|
NFNode(java.lang.String nodeName)
Constructs a node with the given name. |
Method Summary | |
---|---|
NFActiveLabel |
getActiveLabel()
Gets the node's active label. |
java.lang.String |
getCDL()
Generate CDL parameters representing this node |
java.lang.String |
getNodeName()
Gets the name of this node. |
NFPoint |
getPoint()
Return the pixel location of the node. |
NFRegion |
getRegion()
Gets the region style for the node |
java.lang.String |
getText()
Gets the text to be displayed on the node. |
NFTextStyle |
getTextStyle()
Gets the text style for the node. |
double |
getX()
Returns the x coordinate of the node. |
double |
getY()
Returns the y coordinate of the node. |
void |
setActiveLabel(NFActiveLabel activeLabel)
Sets the node's active label. |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setNodeName(java.lang.String nodeName)
Sets the name of the node. |
void |
setPoint(NFPoint point)
Sets the pixel location of the node. |
void |
setRegion(NFRegion region)
Sets the region style for the node |
void |
setText(java.lang.String text)
Sets the text to be displayed on the node.. |
void |
setTextStyle(NFTextStyle textStyle)
Sets the text style for the node. |
void |
setX(double x)
Set the x coordinate of the node. |
void |
setY(double y)
Set the y coordinate of the node. |
java.lang.String |
toString()
Returns a new String object representing this node. |
Methods inherited from class netcharts.pro.common.NFBaseClass |
---|
clone, getModified, getUserObject, setModified, setUserObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NFNode()
public NFNode(java.lang.String nodeName)
nodeName
- The name of the node.Method Detail |
---|
public java.lang.String getNodeName()
public void setNodeName(java.lang.String nodeName)
nodeName
- The name of the node.public void setText(java.lang.String text)
text
- The node text.public java.lang.String getText()
public void setPoint(NFPoint point)
point
- The node's location.public NFPoint getPoint()
public double getX()
public double getY()
public void setX(double x)
x
- The x coordinate of the nodepublic void setY(double y)
y
- The y coordinate of the nodepublic void setTextStyle(NFTextStyle textStyle)
textStyle
- The node's text style.public NFTextStyle getTextStyle()
the
- node's text style or null if not defined.public void setRegion(NFRegion region)
region.
- The node's region style.public NFRegion getRegion()
public void setActiveLabel(NFActiveLabel activeLabel)
activeLabel.
- The node's active label.public NFActiveLabel getActiveLabel()
public java.lang.String toString()
toString
in interface NFCDLGenerator
toString
in class java.lang.Object
public void setCDL(java.lang.String cdl)
setCDL
in interface NFCDLGenerator
cdl
- CDL in the form: ("nodeName", "text", X, Y)
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
("nodeName", "text", X, Y)
|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2011 |
Last Modified: Jun 28, 2011 |