Weitere aktuelle Java-Titel finden Sie bei dpunkt.
 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Klasse javax.swing.undo.UndoManager1.2

java.lang.Object
   |
   +--javax.swing.undo.AbstractUndoableEdit
         |
         +--javax.swing.undo.CompoundEdit
               |
               +--javax.swing.undo.UndoManager

Deklaration

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

Beschreibung


 
Konstruktoren
publicUndoManager()
 
Methoden
public synchronized intgetLimit()
public synchronized voiddiscardAllEdits()
protected voidtrimForLimit()
protected voidtrimEdits(int from, int to)
public synchronized voidsetLimit(int l)
protected UndoableEditeditToBeUndone()
protected UndoableEditeditToBeRedone()
protected voidundoTo(UndoableEdit edit)
protected voidredoTo(UndoableEdit edit)
public synchronized voidundoOrRedo()
public synchronized booleancanUndoOrRedo()
public synchronized voidundo()
public synchronized booleancanUndo()
public synchronized voidredo()
public synchronized booleancanRedo()
public synchronized booleanaddEdit(UndoableEdit anEdit)
public synchronized voidend()
public synchronized StringgetUndoOrRedoPresentationName()
public synchronized StringgetUndoPresentationName()
public synchronized StringgetRedoPresentationName()
public voidundoableEditHappened(UndoableEditEvent e)
public StringtoString()


 

Konstruktoren im Detail

public UndoManager()

 

Methoden im Detail

public synchronized int getLimit()
public synchronized void discardAllEdits()
protected void trimForLimit()
protected void trimEdits(int from, int to)
public synchronized void setLimit(int l)
protected UndoableEdit editToBeUndone()
protected UndoableEdit editToBeRedone()
protected void undoTo(UndoableEdit edit)
Exception: CannotUndoException
protected void redoTo(UndoableEdit edit)
Exception: CannotRedoException
public synchronized void undoOrRedo()
Exception: CannotRedoException
Exception: CannotUndoException
public synchronized boolean canUndoOrRedo()
public synchronized void undo()
Exception: CannotUndoException
public synchronized boolean canUndo()
public synchronized void redo()
Exception: CannotRedoException
public synchronized boolean canRedo()
public synchronized boolean addEdit(UndoableEdit anEdit)
public synchronized void end()
public synchronized String getUndoOrRedoPresentationName()
public synchronized String getUndoPresentationName()
public synchronized String getRedoPresentationName()
public void undoableEditHappened(UndoableEditEvent e)
public String toString()


 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.