RingJavafor Ring

javax.swing.undo

9 classes of the module java.desktop.

Load them with:

using {
	"javax.swing.undo"
}

All packages

AbstractUndoableEdit#

class · extends Object · javax.swing.undo.AbstractUndoableEdit

Implements: UndoableEdit, Serializable

Constructors

new AbstractUndoableEdit()

Ring: new AbstractUndoableEdit(args) uses the constructor with the fewest parameters (at least one); new AbstractUndoableEdit makes the object with the constructor without parameters; the others: (new AbstractUndoableEdit).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addEditaddEdit(anEdit)boolean addEdit(UndoableEdit anEdit)
canRedocanRedo()boolean canRedo()
canUndocanUndo()boolean canUndo()
diedie()void die()
getPresentationNamegetPresentationName()String getPresentationName()
getRedoPresentationNamegetRedoPresentationName()String getRedoPresentationName()
getUndoPresentationNamegetUndoPresentationName()String getUndoPresentationName()
isSignificantisSignificant()boolean isSignificant()
redoredo()void redo()
replaceEditreplaceEdit(anEdit)boolean replaceEdit(UndoableEdit anEdit)
undoundo()void undo()

The methods and fields of Object are inherited.

CannotRedoException#

class · extends RuntimeException · javax.swing.undo.CannotRedoException

Constructors

new CannotRedoException()

Ring: new CannotRedoException(args) uses the constructor with the fewest parameters (at least one); new CannotRedoException makes the object with the constructor without parameters; the others: (new CannotRedoException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

CannotUndoException#

class · extends RuntimeException · javax.swing.undo.CannotUndoException

Constructors

new CannotUndoException()

Ring: new CannotUndoException(args) uses the constructor with the fewest parameters (at least one); new CannotUndoException makes the object with the constructor without parameters; the others: (new CannotUndoException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

CompoundEdit#

class · extends AbstractUndoableEdit · javax.swing.undo.CompoundEdit

Constructors

new CompoundEdit()

Ring: new CompoundEdit(args) uses the constructor with the fewest parameters (at least one); new CompoundEdit makes the object with the constructor without parameters; the others: (new CompoundEdit).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@end@end()void end()
isInProgressisInProgress()boolean isInProgress()

The methods and fields of AbstractUndoableEdit are inherited.

StateEdit#

class · extends AbstractUndoableEdit · javax.swing.undo.StateEdit

Constructors

new StateEdit(StateEditable anObject)
new StateEdit(StateEditable anObject, String name)

Ring: new StateEdit(args) uses the constructor with the fewest parameters (at least one); new StateEdit makes the object with the constructor without parameters; the others: (new StateEdit).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@end@end()void end()

The methods and fields of AbstractUndoableEdit are inherited.

StateEditable#

interface · javax.swing.undo.StateEditable

Fields

NameTypeAccessIn Ring
RCSIDStringconstant · statico.RCSID

Methods

MethodRing callJava overloads
restoreStaterestoreState(state)void restoreState(Hashtable state)
storeStatestoreState(state)void storeState(Hashtable state)

UndoableEdit#

interface · javax.swing.undo.UndoableEdit

Methods

MethodRing callJava overloads
addEditaddEdit(anEdit)boolean addEdit(UndoableEdit anEdit)
canRedocanRedo()boolean canRedo()
canUndocanUndo()boolean canUndo()
diedie()void die()
getPresentationNamegetPresentationName()String getPresentationName()
getRedoPresentationNamegetRedoPresentationName()String getRedoPresentationName()
getUndoPresentationNamegetUndoPresentationName()String getUndoPresentationName()
isSignificantisSignificant()boolean isSignificant()
redoredo()void redo()
replaceEditreplaceEdit(anEdit)boolean replaceEdit(UndoableEdit anEdit)
undoundo()void undo()

UndoableEditSupport#

class · extends Object · javax.swing.undo.UndoableEditSupport

Constructors

new UndoableEditSupport()
new UndoableEditSupport(Object r)

Ring: new UndoableEditSupport(args) uses the constructor with the fewest parameters (at least one); new UndoableEditSupport makes the object with the constructor without parameters; the others: (new UndoableEditSupport).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
addUndoableEditListeneraddUndoableEditListener(l)void addUndoableEditListener(UndoableEditListener l)
beginUpdatebeginUpdate()void beginUpdate()
endUpdateendUpdate()void endUpdate()
getUndoableEditListenersgetUndoableEditListeners()UndoableEditListener[] getUndoableEditListeners()
getUpdateLevelgetUpdateLevel()int getUpdateLevel()
postEditpostEdit(e)void postEdit(UndoableEdit e)
removeUndoableEditListenerremoveUndoableEditListener(l)void removeUndoableEditListener(UndoableEditListener l)

The methods and fields of Object are inherited.

UndoManager#

class · extends CompoundEdit · javax.swing.undo.UndoManager

Implements: UndoableEditListener

Constructors

new UndoManager()

Ring: new UndoManager(args) uses the constructor with the fewest parameters (at least one); new UndoManager makes the object with the constructor without parameters; the others: (new UndoManager).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
canUndoOrRedocanUndoOrRedo()boolean canUndoOrRedo()
discardAllEditsdiscardAllEdits()void discardAllEdits()
getLimitgetLimit()int getLimit()
getUndoOrRedoPresentationNamegetUndoOrRedoPresentationName()String getUndoOrRedoPresentationName()
setLimitsetLimit(l)void setLimit(int l)
undoableEditHappenedundoableEditHappened(e)void undoableEditHappened(UndoableEditEvent e)
undoOrRedoundoOrRedo()void undoOrRedo()

The methods and fields of CompoundEdit are inherited.

RingJava - use Java classes and methods from Ring programs.