All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.samples.net.NodeFigure

CH.ifa.draw.standard.AbstractFigure
   |
   +----CH.ifa.draw.figures.AttributeFigure
           |
           +----CH.ifa.draw.figures.TextFigure
                   |
                   +----CH.ifa.draw.samples.net.NodeFigure

public class NodeFigure
extends TextFigure

Constructor Index

 o NodeFigure()

Method Index

 o connectorAt(int, int)
 o connectorVisibility(boolean)
 o containsPoint(int, int)
Checks if a point is inside the figure.
 o displayBox()
Gets the display box of a figure.
 o draw(Graphics)
 o handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.

Constructors

 o NodeFigure
 public NodeFigure()

Methods

 o displayBox
 public Rectangle displayBox()
Gets the display box of a figure.

Overrides:
displayBox in class TextFigure
 o containsPoint
 public boolean containsPoint(int x,
                              int y)
Checks if a point is inside the figure.

Overrides:
containsPoint in class AbstractFigure
 o draw
 public void draw(Graphics g)
 o handles
 public Vector handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.

Overrides:
handles in class TextFigure
 o connectorVisibility
 public void connectorVisibility(boolean isVisible)
Overrides:
connectorVisibility in class AbstractFigure
 o connectorAt
 public Connector connectorAt(int x,
                              int y)
Overrides:
connectorAt in class AbstractFigure

All Packages  Class Hierarchy  This Package  Previous  Next  Index