|
||||||||||
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
A node for RDFS graph
Field Summary | |
private GraphPanel |
graph
RdfsGraph |
private RdfsResource |
resource
RFDS Resource |
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Node |
|
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
|
Constructor Summary | |
RdfsNode(RdfsResource res)
Build a rdfs node |
Method Summary | |
RdfsResource |
getResource()
Get the RDFS Resource |
void |
setComment(String comment)
Set the comment of the resource |
void |
setLabel(String label)
Set the label of the resource |
void |
setName(String url)
Set the url of the resource |
void |
showDialog(GraphPanel graph)
Display a dialog box for this node |
void |
update()
Update the node |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Node |
calcDimension, contains, draw, drawTitle, getBounds, getGravityPoint, getPoint, getProximityPoint, setPos |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.Element |
clone, 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 RdfsResource resource
private GraphPanel graph
Constructor Detail |
public RdfsNode(RdfsResource res)
res
- the RDFS ResourceMethod Detail |
public RdfsResource getResource()
public void setName(String url)
url
- resource's urlpublic void setLabel(String label)
label
- resource's titlepublic void setComment(String comment)
comment
- resource's labelpublic void showDialog(GraphPanel graph)
showDialog
in class Element
graph
- the graphpublic void update()
update
in class Node
|
||||||||||
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