Class EdgeLabelAttribute

All Implemented Interfaces:
Comparable<Object>, Attribute, CollectionAttribute, DeepCopy, GraphicAttributeConstants, Displayable

public class EdgeLabelAttribute
extends LabelAttribute
DOCUMENT ME!
Version:
$Revision: 1.9 $ Extends LabelAttribute by a PositionAttribute specific for edges.
Author:
holleis
  • Constructor Details

    • EdgeLabelAttribute

      public EdgeLabelAttribute​(String id)
      Constructor for EdgeLabelAttribute.
      Parameters:
      id -
    • EdgeLabelAttribute

      public EdgeLabelAttribute​(String id, String l)
      Constructor for EdgeLabelAttribute.
      Parameters:
      id -
  • Method Details

    • setPosition

      public void setPosition​(EdgeLabelPositionAttribute p)
      Sets the 'position'-value.
      Parameters:
      p - the 'position'-value to be set.
    • getPosition

      public EdgeLabelPositionAttribute getPosition()
      Returns the NodeLabelPositionAttribute specifying the position of the encapsulated label.
      Returns:
      the NodeLabelPositionAttribute specifying the position of the encapsulated label.