|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ch.hearc.I04_05s08.GUI.Graph.GraphPanel
ch.hearc.I04_05s08.GUI.RDFS.RdfsGraph
The graph for a RDF Schema
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private RdfsFile |
file
RDF Schema |
private JTextPane |
tp
Source display |
Fields inherited from class ch.hearc.I04_05s08.GUI.Graph.GraphPanel |
ARROW_MODE, NO_MODE, NODE_MODE |
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
RdfsGraph(RdfsFile file)
Build |
|
RdfsGraph(RdfsFile file,
JTextPane textpane)
Build |
|
RdfsGraph(String name)
Build |
Method Summary | |
boolean |
add(Element e)
Add an Element to the graph |
boolean |
add(RdfsArrow a)
Add a RDFS arrow |
boolean |
add(RdfsArrow[] a)
Add RDFS arrows |
boolean |
add(RdfsNode n)
Add a RDFS node |
boolean |
add(RdfsNode[] n)
Add RDFS nodes |
boolean |
del(Element e)
Add an Element to the graph |
boolean |
del(RdfsArrow a)
Remove an arrow |
boolean |
del(RdfsArrow[] a)
Remove some arrows |
boolean |
del(RdfsNode n)
Delete a node from the schema |
boolean |
del(RdfsNode[] n)
Delete nodes from the schema |
RdfsNode |
getNode(RdfsResource res)
Get the node |
void |
redraw()
Redraw |
void |
update()
Update the graph |
Methods inherited from class ch.hearc.I04_05s08.GUI.Graph.GraphPanel |
add, add, add, add, del, del, del, del, getFile, getMode, getNodes, getOldSelectedElement, getPreferredSize, getSelectedElement, modeAction, moveTo, paintComponent, select, setDrawingElement, setFile, setMode, setMousePos, showDialog |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private RdfsFile file
private JTextPane tp
Constructor Detail |
public RdfsGraph(RdfsFile file, JTextPane textpane)
file
- RDF Schematextpane
- text area for displaying sourcespublic RdfsGraph(RdfsFile file)
file
- RDF Schemapublic RdfsGraph(String name)
name
- filename of the RDF SchemaMethod Detail |
public boolean add(RdfsNode n)
n
- Nodepublic boolean add(RdfsNode[] n)
n
- Nodespublic boolean add(RdfsArrow a)
a
- Arrowpublic boolean add(RdfsArrow[] a)
a
- Arrowpublic boolean add(Element e)
add
in class GraphPanel
e
- the elementpublic boolean del(RdfsArrow a)
a
- arrow
public boolean del(RdfsNode n)
n
- the nodepublic boolean del(RdfsNode[] n)
n
- some nodespublic boolean del(RdfsArrow[] a)
a
- arrows
public boolean del(Element e)
del
in class GraphPanel
e
- the elementpublic void update()
public void redraw()
redraw
in class GraphPanel
public RdfsNode getNode(RdfsResource res)
|
||||||||||
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