com.inet.html
Class InetHtmlDocument.StyleSheetClearEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by com.inet.html.InetHtmlDocument.StyleSheetClearEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Enclosing class:
InetHtmlDocument

public class InetHtmlDocument.StyleSheetClearEdit
extends javax.swing.undo.AbstractUndoableEdit

Undoable edit to replace stylesheets.

See Also:
Serialized Form

Constructor Summary
InetHtmlDocument.StyleSheetClearEdit(Styles oldStyleSheet)
          Creates the event and references the old style sheet
 
Method Summary
 void redo()
          
 void undo()
          
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InetHtmlDocument.StyleSheetClearEdit

public InetHtmlDocument.StyleSheetClearEdit(Styles oldStyleSheet)
Creates the event and references the old style sheet

Parameters:
oldStyleSheet - the style sheet which was active before this event
Method Detail

undo

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

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

redo

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

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