Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## info.bioinfweb.treegraph.document.undo.edit
Class RemoveSubtreeEdit

    java.lang.Object
      info.bioinfweb.treegraph.document.undo.DocumentEdit
          info.bioinfweb.treegraph.document.undo.SaveLegendsEdit
              info.bioinfweb.treegraph.document.undo.edit.InsertRemoveSubtreeEdit
                  info.bioinfweb.treegraph.document.undo.edit.RemoveSubtreeEdit

All Implemented Interfaces:
  WarningEdit, javax.swing.undo.UndoableEdit

    public class RemoveSubtreeEdit

extends InsertRemoveSubtreeEdit
implements WarningEdit

Field Summary
`private boolean` | `collapseDone`
`private CollapseNodeEdit` | `collapseNodeEdit`

Fields inherited from class info.bioinfweb.treegraph.document.undo.edit.InsertRemoveSubtreeEdit
`index, parent, root`

Fields inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit
`document`

Constructor Summary
`RemoveSubtreeEdit(Document document, Node parent, Node root, int index, boolean showWarnings)`

Method Summary
`boolean` | `getLegendsReanchored()`
`boolean` | `getLegendsRemoved()`
`java.lang.String` | `getPresentationName()`
`void` | `redo()`
`void` | `undo()`

Methods inherited from class info.bioinfweb.treegraph.document.undo.edit.InsertRemoveSubtreeEdit
`insert, remove`

Methods inherited from class info.bioinfweb.treegraph.document.undo.SaveLegendsEdit
`editSubtreeLegends, getHelpTopic, getLegendsSave, getShowWarnings, getWarningsMessages, restoreLegends, saveLegends, setHelpTopic, setLegendsReanchored, setLegendsRemoved, setShowWarnings, showWarningDialog`

Methods inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit
`addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface info.bioinfweb.treegraph.document.undo.WarningEdit
`getShowWarnings, setShowWarnings`

Field Detail

### collapseNodeEdit

    private CollapseNodeEdit collapseNodeEdit

### collapseDone

    private boolean collapseDone

Constructor Detail

### RemoveSubtreeEdit

    public RemoveSubtreeEdit(Document document,
                             Node parent,
                             Node root,
                             int index,
                             boolean showWarnings)

Method Detail

### getLegendsReanchored

    public boolean getLegendsReanchored()

  Overrides:
    `getLegendsReanchored` in class `SaveLegendsEdit`

### getLegendsRemoved

    public boolean getLegendsRemoved()

  Overrides:
    `getLegendsRemoved` in class `SaveLegendsEdit`

### redo

    public void redo()
              throws javax.swing.undo.CannotRedoException

  Specified by:
    `redo` in interface `javax.swing.undo.UndoableEdit`
  Overrides:
    `redo` in class `DocumentEdit`
  Throws:
    `javax.swing.undo.CannotRedoException`

### undo

    public void undo()
              throws javax.swing.undo.CannotUndoException

  Specified by:
    `undo` in interface `javax.swing.undo.UndoableEdit`
  Overrides:
    `undo` in class `DocumentEdit`
  Throws:
    `javax.swing.undo.CannotUndoException`

### getPresentationName

    public java.lang.String getPresentationName()

  Specified by:
    `getPresentationName` in interface `javax.swing.undo.UndoableEdit`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD