Class NodeGraphicAttribute

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

public class NodeGraphicAttribute
extends GraphElementGraphicAttribute
Defines all grahic attributes of a node
Version:
$Revision: 1.6 $
Author:
breu
  • Constructor Details

    • NodeGraphicAttribute

      public NodeGraphicAttribute​(String id)
      Constructor that sets the id to the given value, and initializes the other attributes with default values.
      Parameters:
      id - DOCUMENT ME!
    • NodeGraphicAttribute

      public NodeGraphicAttribute​(CoordinateAttribute c, DimensionAttribute d, PortsAttribute p) throws IllegalIdException
      Constructor for NodeGraphicAttribute.
      Parameters:
      c - the coordinate-value of the attriubte.
      d - the dimension-value of the attribute.
      p - the ports-value of the attribute.
      Throws:
      IllegalIdException
    • NodeGraphicAttribute

      public NodeGraphicAttribute​(Point2D c, Dimension d, PortsAttribute p) throws IllegalIdException
      Constructor for NodeGraphicAttribute.
      Parameters:
      c - the coordinate-value of the attriubte.
      d - the dimension-value of the attribute.
      p - the ports-value of the attribute.
      Throws:
      IllegalIdException
    • NodeGraphicAttribute

      public NodeGraphicAttribute​(Point2D position, Dimension size) throws IllegalIdException
      Throws:
      IllegalIdException
    • NodeGraphicAttribute

      public NodeGraphicAttribute​(double x, double y, double h, double w, PortsAttribute p) throws IllegalIdException
      Constructor for NodeGraphicAttribute.
      Parameters:
      x - the x-coordinate-value of the attriubte.
      y - the y-coordinate-value of the attriubte.
      h - the height-value of the attribute.
      w - the width-value of the attribute.
      p - the ports-value of the attribute.
      Throws:
      IllegalIdException
    • NodeGraphicAttribute

      public NodeGraphicAttribute() throws IllegalIdException
      Constructor for NodeGraphicAttribute.
      Throws:
      IllegalIdException
  • Method Details