|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hearc.I04_05s08.GUI.Graph.Element
ch.hearc.I04_05s08.GUI.Graph.Node
ch.hearc.I04_05s08.GUI.RDFS.RdfsNode
ch.hearc.I04_05s08.GUI.RDFS.RdfsPropertyNode
Node for a RDFS Property
Field Summary | |
private Ellipse2D |
ellipse
The ellipse (instead of a rectangle) |
Fields inherited from class ch.hearc.I04_05s08.GUI.RDFS.RdfsNode |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Node |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
|
Constructor Summary | |
RdfsPropertyNode(RdfsProperty property)
Build the property node |
|
RdfsPropertyNode(RdfsPropertyNode p)
Build the property node |
Method Summary | |
void |
calcDimension(Graphics2D g2d)
Calculate the dimension of the node |
Object |
clone()
Clone the class node |
boolean |
contains(Point2D p)
Test if the RDFS Property contains the point |
void |
draw(Graphics2D g2d)
Draw the Node |
Point2D |
getProximityPoint(Point2D p,
Graphics2D g2d)
Get the point touching the node between the givent point and the middle of the node |
Methods inherited from class ch.hearc.I04_05s08.GUI.RDFS.RdfsNode |
getResource, setComment, setLabel, setName, showDialog, update |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Node |
drawTitle, getBounds, getGravityPoint, getPoint, setPos |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
getBackgroundColor, getForegroundColor, getGraph, getPadding, getTitle, isSelected, select, setBackgroundColor, setForegroundColor, setPadding, setSelectedBackgroundColor, setSelectedForegroundColor, setTitle |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Ellipse2D ellipse
Constructor Detail |
public RdfsPropertyNode(RdfsProperty property)
property
- the rdfs property attachedpublic RdfsPropertyNode(RdfsPropertyNode p)
p
- the rdfs property attachedMethod Detail |
public Object clone()
clone
in class Element
public void calcDimension(Graphics2D g2d)
calcDimension
in class Node
g2d
- graphic contextpublic void draw(Graphics2D g2d)
draw
in class Node
g2d
- Graphic contextpublic boolean contains(Point2D p)
contains
in class Node
p
- the point
public Point2D getProximityPoint(Point2D p, Graphics2D g2d)
getProximityPoint
in class Node
p
- distant pointg2d
- graphic context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC