Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing.undo
Version documentée : Java SE 17

Classe « UndoManager »

Informations générales

Héritage

java.lang.Object
    javax.swing.undo.AbstractUndoableEdit
        javax.swing.undo.CompoundEdit
            javax.swing.undo.UndoManager

Définition

public class UndoManager extends javax.swing.undo.CompoundEdit
implements javax.swing.event.UndoableEditListener

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
UndoManager()

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
public synchronized int limit R/W
public synchronized String redoPresentationName R/-
public synchronized String undoOrRedoPresentationName R/-
public synchronized String undoPresentationName R/-

Propriétés héritées de la classe javax.swing.undo.CompoundEdit

inProgress, presentationName, redoPresentationName, significant, undoPresentationName

Propriétés héritées de la classe javax.swing.undo.AbstractUndoableEdit

presentationName, redoPresentationName, significant, undoPresentationName

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public synchronized boolean addEdit( UndoableEdit anEdit )
public synchronized boolean canRedo()
public synchronized boolean canUndo()
public synchronized boolean canUndoOrRedo()
public synchronized void discardAllEdits()
protected UndoableEdit editToBeRedone()
protected UndoableEdit editToBeUndone()
public synchronized void end()
public synchronized int getLimit()
public synchronized String getRedoPresentationName()
public synchronized String getUndoOrRedoPresentationName()
public synchronized String getUndoPresentationName()
public void redo()
protected void redoTo( UndoableEdit edit )
public synchronized void setLimit( int l )
public String toString()
protected void trimEdits( int from, int to )
protected void trimForLimit()
public void undo()
public void undoableEditHappened( UndoableEditEvent e )
public void undoOrRedo()
protected void undoTo( UndoableEdit edit )

Méthodes héritées de la classe javax.swing.undo.CompoundEdit

addEdit, canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, toString, undo

Méthodes héritées de la classe javax.swing.undo.AbstractUndoableEdit

addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait