public class GPathElement extends GObject
| Modifier and Type | Field and Description |
|---|---|
boolean |
isRuleLink |
GObject |
nodeOrLink |
GObject |
source |
GNode |
target |
| Constructor and Description |
|---|
GPathElement(GObject object) |
GPathElement(GObject source,
GNode target) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPoint(Point p) |
static GPathElement |
createElement(GObject object) |
static GPathElement |
createLink(GNode node,
GNode nextNode) |
void |
draw() |
protected Point2D |
getBeginPoint() |
Rectangle |
getBounds() |
Set<GObject> |
getObjects() |
boolean |
isVisible() |
void |
setContext(GContext context) |
void |
setRuleLink(boolean flag) |
getContextpublic GObject nodeOrLink
public GObject source
public GNode target
public boolean isRuleLink
public GPathElement(GObject object)
public static GPathElement createLink(GNode node, GNode nextNode)
public static GPathElement createElement(GObject object)
public void setContext(GContext context)
setContext in class GObjectpublic boolean containsPoint(Point p)
containsPoint in class GObjectpublic void setRuleLink(boolean flag)
public boolean isVisible()
protected Point2D getBeginPoint()
Copyright © 2013. All rights reserved.