Package com.inet.html
Class InetHtmlDocument.StyleSheetClearEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
com.inet.html.InetHtmlDocument.StyleSheetClearEdit
- All Implemented Interfaces:
Serializable,UndoableEdit
- Enclosing class:
- InetHtmlDocument
Undoable edit to replace stylesheets.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionStyleSheetClearEdit(com.inet.html.css.Styles oldStyleSheet) Creates the event and references the old style sheet -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
StyleSheetClearEdit
public StyleSheetClearEdit(com.inet.html.css.Styles oldStyleSheet) Creates the event and references the old style sheet- Parameters:
oldStyleSheet- the style sheet which was active before this event
-
-
Method Details
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotRedoException
-