org.globus.cog.gui.grapheditor.edges
Class LoopEdgeRenderer

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.AbstractRenderer
      extended byorg.globus.cog.gui.grapheditor.targets.swing.AbstractSwingRenderer
          extended byorg.globus.cog.gui.grapheditor.targets.swing.SwingEdgeRenderer
              extended byorg.globus.cog.gui.grapheditor.edges.LoopEdgeRenderer
All Implemented Interfaces:
ActionListener, ComponentRenderer, ControlPointListener, EventConsumer, EventListener, GraphComponentListener, MouseListener, PropertyChangeListener, SwingComponentRenderer

public class LoopEdgeRenderer
extends SwingEdgeRenderer
implements ControlPointListener


Constructor Summary
LoopEdgeRenderer()
           
 
Method Summary
 void controlPointUpdated(EdgeComponent source, int index)
           
 void setComponent(GraphComponent component)
          Sets the component that this renderer is supposed to represent
 
Methods inherited from class org.globus.cog.gui.grapheditor.targets.swing.SwingEdgeRenderer
getEdgeComponent, getSwingEdge, setPoint
 
Methods inherited from class org.globus.cog.gui.grapheditor.targets.swing.AbstractSwingRenderer
actionPerformed, addAction, event, getAction, getActions, getMenu, getVisualComponent, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, removeAction, setVisualComponent
 
Methods inherited from class org.globus.cog.gui.grapheditor.AbstractRenderer
dispose, getComponent, getRootNode, propertyChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.gui.grapheditor.ComponentRenderer
dispose, getComponent
 

Constructor Detail

LoopEdgeRenderer

public LoopEdgeRenderer()
Method Detail

controlPointUpdated

public void controlPointUpdated(EdgeComponent source,
                                int index)
Specified by:
controlPointUpdated in interface ControlPointListener

setComponent

public void setComponent(GraphComponent component)
Description copied from interface: ComponentRenderer
Sets the component that this renderer is supposed to represent

Specified by:
setComponent in interface ComponentRenderer
Overrides:
setComponent in class AbstractRenderer