|
||||||||||
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.Arrow
ch.hearc.I04_05s08.GUI.RDF.RdfArrow
RdfsArrow, an arrow for a RDF graph
Field Summary | |
private RdfArrowDialog |
dialog
The dialog |
private InstanceOfProperty |
iop
The property instanciated |
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Arrow |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
|
Constructor Summary | |
RdfArrow(InstanceOfProperty iop)
Init the arrow |
|
RdfArrow(InstanceOfProperty iop,
RdfNode from,
RdfNode to)
Init the arrow |
|
RdfArrow(RdfArrow a)
Build a copy |
Method Summary | |
Object |
clone()
Return a clone |
void |
drawLine(Graphics2D g2d)
Draw the line and the arrow |
InstanceOfProperty |
getInstanceOfProperty()
Return the instance |
boolean |
setNodes(RdfNode from,
RdfNode to)
Set the nodes |
void |
showDialog(GraphPanel graph)
Display a dialog box for this node |
boolean |
unconnect()
Disconnect the arrow from its nodes |
void |
update()
Update the arc |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Arrow |
calcLine, contains, draw, drawTitle, getAngle, getContactPoints, getLine, getNodes, setArrow, setNodes |
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 InstanceOfProperty iop
private RdfArrowDialog dialog
Constructor Detail |
public RdfArrow(InstanceOfProperty iop, RdfNode from, RdfNode to)
iop
- the instance of propertyfrom
- the node fromto
- the node topublic RdfArrow(InstanceOfProperty iop)
public RdfArrow(RdfArrow a)
a
- arrowMethod Detail |
public Object clone()
clone
in class Element
public boolean setNodes(RdfNode from, RdfNode to)
from
- from nodeto
- to nodepublic InstanceOfProperty getInstanceOfProperty()
public boolean unconnect()
unconnect
in class Arrow
public void showDialog(GraphPanel graph)
showDialog
in class Element
graph
- the graphpublic void update()
update
in class Element
public void drawLine(Graphics2D g2d)
drawLine
in class Arrow
g2d
- the 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