Class InterfacePlotObject

java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.plots.InterfacePlotObject
All Implemented Interfaces:
AttributeListener, AttributeObject, InterfaceObject, NamedObject, TreeObject, CleanableObject
Direct Known Subclasses:
SgtPlotObject

public abstract class InterfacePlotObject
extends AbstractInterfaceObject
implements AttributeObject, AttributeListener
Abstract representation of a plottable object; allows objects to be represented generically as interface objects.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Details

  • Constructor Details

    • InterfacePlotObject

      public InterfacePlotObject()
  • Method Details

    • getAttribute

      public Attribute<?> getAttribute​(java.lang.String name)
      Description copied from interface: AttributeObject
      Returns a specific attribute for this object.
      Specified by:
      getAttribute in interface AttributeObject
      Returns:
    • getAttributes

      public AttributeList getAttributes()
      Description copied from interface: AttributeObject
      Returns the list of current attributes for this object.
      Specified by:
      getAttributes in interface AttributeObject
      Returns:
    • setAttribute

      public void setAttribute​(java.lang.String name, java.lang.Object value)
      Description copied from interface: AttributeObject
      Sets a value for a specific attribute.
      Specified by:
      setAttribute in interface AttributeObject
    • setAttributes

      public void setAttributes​(AttributeList attributes)
      Description copied from interface: AttributeObject
      Sets the list of attributes for this object.
      Specified by:
      setAttributes in interface AttributeObject
    • getAttributeValue

      public java.lang.Object getAttributeValue​(java.lang.String name)
      Description copied from interface: AttributeObject
      Gets the value of attribute name, or null if it does not exist.
      Specified by:
      getAttributeValue in interface AttributeObject
      Parameters:
      name - Name of the attribute
      Returns:
      the value of attribute name, or null if it does not exist