Home / Development / Documentation / 2.0.44 / RescaleNodeDataEdit
TreeGraph 2
 


info.bioinfweb.treegraph.document.undo.edit
Class RescaleNodeDataEdit

java.lang.Object
  extended by info.bioinfweb.treegraph.document.undo.DocumentEdit
      extended by info.bioinfweb.treegraph.document.undo.ComplexDocumentEdit
          extended by info.bioinfweb.treegraph.document.undo.edit.RescaleNodeDataEdit
All Implemented Interfaces:
UndoableEdit

public class RescaleNodeDataEdit
extends ComplexDocumentEdit


Field Summary
private  NodeBranchDataAdapter adapter
           
private  double addend
           
private  double factor
           
 
Fields inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit
document
 
Constructor Summary
RescaleNodeDataEdit(Document document, NodeBranchDataAdapter adapter, double factor, double addend)
           
 
Method Summary
 String getPresentationName()
           
protected  void performRedo()
           
 void rescale(Node root)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.undo.ComplexDocumentEdit
findEquivilant, findEquivilant, redo, undo
 
Methods inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit
addEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, setIsSubedit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adapter

private NodeBranchDataAdapter adapter

factor

private double factor

addend

private double addend
Constructor Detail

RescaleNodeDataEdit

public RescaleNodeDataEdit(Document document,
                           NodeBranchDataAdapter adapter,
                           double factor,
                           double addend)
Method Detail

rescale

public void rescale(Node root)

performRedo

protected void performRedo()
Specified by:
performRedo in class ComplexDocumentEdit

getPresentationName

public String getPresentationName()