Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.standardgui
Class UndoHelper  view UndoHelper download UndoHelper.java

java.lang.Object
  extended bycom.virtuosotechnologies.asaph.standardgui.UndoHelper
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.UndoableEditListener
Direct Known Subclasses:
SongBlockEditor.BlockUndoHelper, SongBodyEditor.BodyUndoHelper, SongLineEditor.LineUndoHelper

abstract class UndoHelper
extends java.lang.Object
implements javax.swing.event.UndoableEditListener

The song body editor: A helper for handling undo listening


Field Summary
private  java.util.List edits_
           
private  EditorSelection oldSelection_
           
private  SongBodyEditorPane pane_
           
 
Constructor Summary
(package private) UndoHelper(SongBodyEditorPane pane)
           
 
Method Summary
(package private)  void finish(EditorSelection newSelection)
           
protected abstract  void rebuildView()
           
 void undoableEditHappened(javax.swing.event.UndoableEditEvent ev)
          Undoable edit has happened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edits_

private java.util.List edits_

pane_

private SongBodyEditorPane pane_

oldSelection_

private EditorSelection oldSelection_
Constructor Detail

UndoHelper

UndoHelper(SongBodyEditorPane pane)
Method Detail

undoableEditHappened

public void undoableEditHappened(javax.swing.event.UndoableEditEvent ev)
Description copied from interface: javax.swing.event.UndoableEditListener
Undoable edit has happened

Specified by:
undoableEditHappened in interface javax.swing.event.UndoableEditListener

finish

final void finish(EditorSelection newSelection)

rebuildView

protected abstract void rebuildView()