Home /
Development /
Documentation /
2.0.44 /
NodeBranchDataFormatEdit
info.bioinfweb.treegraph.document.undo.format
Class NodeBranchDataFormatEdit
java.lang.Object
info.bioinfweb.treegraph.document.undo.DocumentEdit
info.bioinfweb.treegraph.document.undo.format.NodeBranchDataFormatEdit
- All Implemented Interfaces:
- UndoableEdit
- Direct Known Subclasses:
- ColorsByNodeBranchDataEdit, DistanceValuesByNodeBranchDataEdit
public abstract class NodeBranchDataFormatEdit
- extends DocumentEdit
Methods inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit |
addEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, setIsSubedit, undo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeBranchDataFormatEdit
public NodeBranchDataFormatEdit(Document document)
calculateMaxNodeData
public static double calculateMaxNodeData(NodeBranchDataAdapter adapter,
Node root)
- Searches for the maximal node data specified by
adapter
in the
subtree under root.
- Parameters:
root
- the root of the subtree
- Returns:
- the maximal node data (0 if no decimal value was found)