|
||||||||||
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.RDF.RdfNode
ch.hearc.I04_05s08.GUI.RDF.RdfResource
A node for RDFS graph
Field Summary | |
private Ellipse2D |
ellipse
The ellipse (instead of a rectangle) |
Fields inherited from class ch.hearc.I04_05s08.GUI.RDF.RdfNode |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Node |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
|
Constructor Summary | |
RdfResource(InstanceOfClass ioc)
Build a rdf node |
|
RdfResource(RdfResource rdfr)
Build a copy |
Method Summary | |
void |
calcDimension(Graphics2D g2d)
Calculate the dimension of the node |
Object |
clone()
Return a clone |
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 |
void |
showDialog(GraphPanel graph)
Display a dialog box for this node |
Methods inherited from class ch.hearc.I04_05s08.GUI.RDF.RdfNode |
getInstanceOfClass, setValue, 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 RdfResource(InstanceOfClass ioc)
ioc
- the instance of classpublic RdfResource(RdfResource rdfr)
rdfr
- rdf resource nodeMethod Detail |
public void showDialog(GraphPanel graph)
showDialog
in class Element
graph
- the graphpublic void calcDimension(Graphics2D g2d)
calcDimension
in class Node
g2d
- graphic contextpublic Object clone()
clone
in class Element
public 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