Package mgui.interfaces.shapes.paths
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
-
Field Summary
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description PathDataRenderer()
-
Method Summary
Modifier and Type Method Description Attribute
getAttribute(java.lang.String attrName)
Returns a specific attribute for this object.AttributeList
getAttributes()
Returns the list of current attributes for this object.static java.util.ArrayList<java.lang.String>
getRenderTypes()
abstract java.lang.Object
getValueAtDistance(float depth)
protected void
init()
void
setAttribute(java.lang.String attrName, java.lang.Object newValue)
Sets a value for a specific attribute.void
setAttributes(AttributeList thisList)
Sets the list of attributes for this object.protected void
updateRenderAttributes()
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mgui.interfaces.attributes.AttributeObject
getAttributeValue
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
-
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
Description copied from interface:AttributeObject
Returns a specific attribute for this object.- Specified by:
getAttribute
in interfaceAttributeObject
- Returns:
-
getAttributes
Description copied from interface:AttributeObject
Returns the list of current attributes for this object.- Specified by:
getAttributes
in interfaceAttributeObject
- 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 interfaceAttributeObject
-
setAttributes
Description copied from interface:AttributeObject
Sets the list of attributes for this object.- Specified by:
setAttributes
in interfaceAttributeObject
-