jaxe
Class JaxeUndoableEdit
java.lang.Object
jaxe.JaxeUndoableEdit
- All Implemented Interfaces:
- javax.swing.undo.UndoableEdit
public class JaxeUndoableEdit
- extends java.lang.Object
- implements javax.swing.undo.UndoableEdit
Constructor Summary |
JaxeUndoableEdit(int ajsup,
JaxeDocument doc,
java.lang.String texte,
int offset)
|
JaxeUndoableEdit(int ajsup,
JaxeDocument doc,
java.lang.String texte,
int offset,
boolean regrouper)
|
JaxeUndoableEdit(int ajsup,
JaxeElement je)
|
JaxeUndoableEdit(int ajsup,
JaxeElement je,
boolean regrouper)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERREUR
public static final int ERREUR
- See Also:
- Constant Field Values
AJOUTER
public static final int AJOUTER
- See Also:
- Constant Field Values
SUPPRIMER
public static final int SUPPRIMER
- See Also:
- Constant Field Values
ajsup
public int ajsup
je
public JaxeElement je
offsetdebut
public int offsetdebut
texte
public java.lang.String texte
texteDansSuivant
public boolean texteDansSuivant
texteSansStyle
public boolean texteSansStyle
JaxeUndoableEdit
public JaxeUndoableEdit(int ajsup,
JaxeElement je)
JaxeUndoableEdit
public JaxeUndoableEdit(int ajsup,
JaxeElement je,
boolean regrouper)
JaxeUndoableEdit
public JaxeUndoableEdit(int ajsup,
JaxeDocument doc,
java.lang.String texte,
int offset)
JaxeUndoableEdit
public JaxeUndoableEdit(int ajsup,
JaxeDocument doc,
java.lang.String texte,
int offset,
boolean regrouper)
addEdit
public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
addEdit
in interface javax.swing.undo.UndoableEdit
canRedo
public boolean canRedo()
- Specified by:
canRedo
in interface javax.swing.undo.UndoableEdit
canUndo
public boolean canUndo()
- Specified by:
canUndo
in interface javax.swing.undo.UndoableEdit
die
public void die()
- Specified by:
die
in interface javax.swing.undo.UndoableEdit
getPresentationName
public java.lang.String getPresentationName()
- Specified by:
getPresentationName
in interface javax.swing.undo.UndoableEdit
getRedoPresentationName
public java.lang.String getRedoPresentationName()
- Specified by:
getRedoPresentationName
in interface javax.swing.undo.UndoableEdit
getUndoPresentationName
public java.lang.String getUndoPresentationName()
- Specified by:
getUndoPresentationName
in interface javax.swing.undo.UndoableEdit
isSignificant
public boolean isSignificant()
- Specified by:
isSignificant
in interface javax.swing.undo.UndoableEdit
redo
public void redo()
throws javax.swing.undo.CannotRedoException
- Specified by:
redo
in interface javax.swing.undo.UndoableEdit
- Throws:
javax.swing.undo.CannotRedoException
replaceEdit
public boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
- Specified by:
replaceEdit
in interface javax.swing.undo.UndoableEdit
undo
public void undo()
throws javax.swing.undo.CannotUndoException
- Specified by:
undo
in interface javax.swing.undo.UndoableEdit
- Throws:
javax.swing.undo.CannotUndoException
doit
public void doit()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object