org.kite9.diagram.adl
Class Arrow

java.lang.Object
  extended by org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
      extended by org.kite9.diagram.primitives.AbstractConnectedContained
          extended by org.kite9.diagram.adl.Arrow
All Implemented Interfaces:
Comparable<DiagramElement>, Connected, Contained, DiagramElement, IdentifiableDiagramElement, Leaf, VertexOnEdge

public class Arrow
extends AbstractConnectedContained
implements VertexOnEdge, Leaf

This class models the black body of the arrow, which will have links entering and leaving it.

Author:
moffatr

Field Summary
 
Fields inherited from class org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
renderingInformation
 
Constructor Summary
Arrow()
           
Arrow(String label)
           
Arrow(String id, String label)
           
 
Method Summary
 String getLabel()
           
 RenderingInformation getRenderingInformation()
           
 boolean hasDimension()
           
 void setLabel(String name)
           
 String toString()
           
 
Methods inherited from class org.kite9.diagram.primitives.AbstractConnectedContained
addLink, getConnectionTo, getContainer, getLinks, isConnectedDirectlyTo, removeLink, setContainer
 
Methods inherited from class org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
compareTo, createID, getID, hashCode, resetCounter, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kite9.diagram.primitives.IdentifiableDiagramElement
getID, setID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Arrow

public Arrow()

Arrow

public Arrow(String id,
             String label)

Arrow

public Arrow(String label)
Method Detail

getLabel

public String getLabel()

setLabel

public void setLabel(String name)

hasDimension

public boolean hasDimension()

toString

public String toString()
Overrides:
toString in class Object

getRenderingInformation

public RenderingInformation getRenderingInformation()
Specified by:
getRenderingInformation in interface DiagramElement


Copyright © 2011. All Rights Reserved.