public abstract class CalculationPathNode
extends java.lang.Object
Constructor and Description |
---|
CalculationPathNode(CalculationPathNode parent)
Convenience constructor for creating a child node.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(CalculationPathNode child)
add a child calc node to this node
|
void |
addNodeAttributes(org.w3c.dom.Element node)
Override this method to customize the node attribute writing
|
void |
addNodeText(org.w3c.dom.Element node)
Override this method to add an element body
|
Calculatable |
getCalculatable() |
java.lang.String |
getElementName() |
CalculationPathNode |
getParent() |
double |
getResult() |
boolean |
getShowNode() |
boolean |
getUsed() |
void |
removeChild(CalculationPathNode child)
remove a child
|
void |
setCalculatable(Calculatable calculatable) |
void |
setParent(CalculationPathNode newParent) |
void |
setResult(double d) |
void |
setShowNode(boolean b) |
void |
setUsed(boolean b) |
org.w3c.dom.Node |
toNode(org.w3c.dom.Document doc)
translate this object to an XML Node
|
java.lang.String |
toString() |
public CalculationPathNode(CalculationPathNode parent)
parent
- public java.lang.String getElementName()
public CalculationPathNode getParent()
public void setParent(CalculationPathNode newParent)
public void addChild(CalculationPathNode child)
child
- public void removeChild(CalculationPathNode child)
child
- public Calculatable getCalculatable()
public void setCalculatable(Calculatable calculatable)
public void setResult(double d)
public double getResult()
public boolean getUsed()
public void setUsed(boolean b)
public boolean getShowNode()
public void setShowNode(boolean b)
@CheckReturnValue @Nonnull public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Node toNode(org.w3c.dom.Document doc)
public void addNodeAttributes(org.w3c.dom.Element node)
sb
- public void addNodeText(org.w3c.dom.Element node)
sb
- stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.