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 AttributegetAttribute(java.lang.String attrName)Returns a specific attribute for this object.AttributeListgetAttributes()Returns the list of current attributes for this object.static java.util.ArrayList<java.lang.String>getRenderTypes()abstract java.lang.ObjectgetValueAtDistance(float depth)protected voidinit()voidsetAttribute(java.lang.String attrName, java.lang.Object newValue)Sets a value for a specific attribute.voidsetAttributes(AttributeList thisList)Sets the list of attributes for this object.protected voidupdateRenderAttributes()Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, getTreeLabel, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mgui.interfaces.attributes.AttributeObject
getAttributeValueMethods 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:AttributeObjectReturns a specific attribute for this object.- Specified by:
getAttributein interfaceAttributeObject- Returns:
-
getAttributes
Description copied from interface:AttributeObjectReturns the list of current attributes for this object.- Specified by:
getAttributesin interfaceAttributeObject- Returns:
-
setAttribute
public void setAttribute(java.lang.String attrName, java.lang.Object newValue)Description copied from interface:AttributeObjectSets a value for a specific attribute.- Specified by:
setAttributein interfaceAttributeObject
-
setAttributes
Description copied from interface:AttributeObjectSets the list of attributes for this object.- Specified by:
setAttributesin interfaceAttributeObject
-