org.xmlhammer.gui.util
Class UndoableCheckBoxEdit

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

public class UndoableCheckBoxEdit
extends javax.swing.undo.AbstractUndoableEdit

See Also:
Serialized Form

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

Constructor Detail

UndoableCheckBoxEdit

public UndoableCheckBoxEdit(Page page,
                            javax.swing.JCheckBox check,
                            boolean selected)
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


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