ch.hearc.I04_05s08.GUI.RDFS
Class RdfsClassNode

java.lang.Object
  extended bych.hearc.I04_05s08.GUI.Graph.Element
      extended bych.hearc.I04_05s08.GUI.Graph.Node
          extended bych.hearc.I04_05s08.GUI.RDFS.RdfsNode
              extended bych.hearc.I04_05s08.GUI.RDFS.RdfsClassNode

public class RdfsClassNode
extends RdfsNode

Node for a RDFS Class

Author:
Blanc, Yoan
Licence:
MIT
Copyright:
2005 Yoan Blanc, HE-ARC Ing�nierie

Field Summary
 
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
RdfsClassNode(RdfsClass c)
          Init the class node
RdfsClassNode(RdfsClassNode c)
          Init the class node
 
Method Summary
 Object clone()
          Clone the class node
 void draw(Graphics2D g2d)
          Draw the Class
 void drawTitle(Graphics2D g2d)
          Draw the title's class
 
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
calcDimension, contains, getBounds, getGravityPoint, getPoint, getProximityPoint, 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
 

Constructor Detail

RdfsClassNode

public RdfsClassNode(RdfsClass c)
Init the class node

Parameters:
c - the rdfs class attached

RdfsClassNode

public RdfsClassNode(RdfsClassNode c)
Init the class node

Parameters:
c - the rdfs class attached
Method Detail

clone

public Object clone()
Clone the class node

Specified by:
clone in class Element
Returns:
the clone

draw

public void draw(Graphics2D g2d)
Draw the Class

Overrides:
draw in class Node
Parameters:
g2d - Graphic context

drawTitle

public void drawTitle(Graphics2D g2d)
Draw the title's class

Overrides:
drawTitle in class Node
Parameters:
g2d - Graphic context


A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC