uk.ac.ic.doc.automed.p2p.gui.graph
Class GEdgeArc

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.gui.graph.GShape
      extended by uk.ac.ic.doc.automed.p2p.gui.graph.GEdge
          extended by uk.ac.ic.doc.automed.p2p.gui.graph.GEdgeArc
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, GVisualisable

public class GEdgeArc
extends GEdge

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GEdge
angle, node1, node2
 
Fields inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GShape
altDrawer, altDrawing, AUTO_COUNT, bound, brPoint, centrePoint, changed, color, cshape, data, defBound, displayScript, displayShape, enabled, handler, highlighted, hshape, icon, id, label, lblPoint, movable, name, onClick, PREFIX_CTRL, PREFIX_HIL, props, refresh, selectable, tlPoint, type, visible, visibleOnHighlighted, ZEROX
 
Constructor Summary
GEdgeArc(java.lang.String label, java.util.Properties props, GNode n1, GNode n2)
           
 
Method Summary
protected  void drawMain(java.awt.Graphics g)
          Draw an edge from the mid-point of the bound-box of node 1 to the mid-point of the bound-box of node2
 
Methods inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GEdge
contains, drawControl, drawHighlighted, drawMidPoint, getAngle, getData, getEndPoints, getNode, getPropertyObjects, highlightLabel, setColorProperty, setEndNodes, toString, update, updateControl, updateHighlighted
 
Methods inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GShape
clear, clear, contains, contains, contains, contains, copyProperties, cos, dcos, draw, drawAfter, drawAlternative, drawBefore, drawTo, dsin, dtan, equals, getAutoID, getBound, getBounds, getBounds2D, getBrPoint, getCenter, getColor, getDefaultBound, getDrawerInstance, getHandlerObject, getID, getIDShape, getIsVisible, getIsVisibleOnHighlighted, getLabel, getLabelBounds, getLabelPoint, getName, getPathIterator, getPathIterator, getPoint, getProperties, getProperty, getProperty, getPropertyObject, getStringBounds, getType, hashCode, highlightLabel, intersects, intersects, isActive, isAltDrawing, isChanged, isEnabled, isHighlighted, isMovable, isMutableColor, isOnClick, isRefresh, isSelectable, newDrawerInstance, paintBlank, preDraw, preDraw, redraw, redrawAfter, redrawBefore, redrawMain, refresh, setBound, setBound, setColorProperty, setColorProperty, setEnabled, setHandlerObject, setIsAltDrawing, setIsChanged, setIsHighlighted, setIsMovable, setIsOnClick, setIsRefresh, setIsSelectable, setIsVisible, setLabel, setName, setProperties, setProperty, setPropertyObject, setStrokeStyle, setTLPoint, setTLPoint, setType, setUpHighlightedShape, setVisibleOnHighlighted, sin, tan
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GEdgeArc

public GEdgeArc(java.lang.String label,
                java.util.Properties props,
                GNode n1,
                GNode n2)
Method Detail

drawMain

protected void drawMain(java.awt.Graphics g)
Draw an edge from the mid-point of the bound-box of node 1 to the mid-point of the bound-box of node2

Overrides:
drawMain in class GEdge