Class PathDataRenderer

java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.shapes.paths.PathDataRenderer
All Implemented Interfaces:
AttributeObject, InterfaceObject, NamedObject, TreeObject, CleanableObject

public abstract class PathDataRenderer
extends AbstractInterfaceObject
implements AttributeObject
Specifies how data attached to a path is to be rendered.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • PathDataRenderer

      public PathDataRenderer()
  • Method Details

    • init

      protected void init()
    • getValueAtDistance

      public abstract java.lang.Object getValueAtDistance​(float depth)
    • updateRenderAttributes

      protected void updateRenderAttributes()
    • getRenderTypes

      public static java.util.ArrayList<java.lang.String> getRenderTypes()
    • getAttribute

      public Attribute getAttribute​(java.lang.String attrName)
      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 attrName, java.lang.Object newValue)
      Description copied from interface: AttributeObject
      Sets a value for a specific attribute.
      Specified by:
      setAttribute in interface AttributeObject
    • setAttributes

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