org.xmlhammer.gui.util
Class UndoableComboBoxEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.xmlhammer.gui.util.UndoableComboBoxEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit

public class UndoableComboBoxEdit
extends javax.swing.undo.AbstractUndoableEdit

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
UndoableComboBoxEdit(Page page, javax.swing.JComboBox combo, java.lang.Object current, java.lang.Object previous)
           
 
Method Summary
 java.lang.String getRedoPresentationName()
           
 java.lang.String getUndoPresentationName()
           
 void redo()
           
 java.lang.String toString()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, isSignificant, replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UndoableComboBoxEdit

public UndoableComboBoxEdit(Page page,
                            javax.swing.JComboBox combo,
                            java.lang.Object current,
                            java.lang.Object previous)
Method Detail

undo

public void undo()
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class javax.swing.undo.AbstractUndoableEdit

redo

public void redo()
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class javax.swing.undo.AbstractUndoableEdit

getUndoPresentationName

public java.lang.String getUndoPresentationName()
Specified by:
getUndoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getUndoPresentationName in class javax.swing.undo.AbstractUndoableEdit

getRedoPresentationName

public java.lang.String getRedoPresentationName()
Specified by:
getRedoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getRedoPresentationName in class javax.swing.undo.AbstractUndoableEdit

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.undo.AbstractUndoableEdit


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.