Searched refs:undo (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/undo/
H A DCannotRedoException.java25 package javax.swing.undo;
H A DCannotUndoException.java26 package javax.swing.undo;
29 * Thrown when an UndoableEdit is told to <code>undo()</code> and can't.
H A DUndoableEdit.java26 package javax.swing.undo;
56 * undone or redone. The <code>UndoManager</code> will undo or redo
74 public void undo() throws CannotUndoException; method in interface:UndoableEdit
118 * undo operations to apply to words or sentences. The text
135 * and must throw the appropriate exception on <code>undo</code> or
159 * exception on undo() or redo().</p>
169 * on a menu item or tooltip. The <code>UndoManager</code> will undo,
H A DStateEditable.java26 package javax.swing.undo;
H A DCompoundEdit.java25 package javax.swing.undo;
54 * Sends <code>undo</code> to all contained
58 public void undo() throws CannotUndoException { method in class:CompoundEdit
59 super.undo();
63 e.undo();
H A DStateEdit.java26 package javax.swing.undo;
37 * Hashtables before and after editing occurs. Upon undo or redo the
84 * The undo/redo presentation name
144 public void undo() { method in class:StateEdit
145 super.undo();
H A DAbstractUndoableEdit.java26 package javax.swing.undo;
86 * Sending <code>undo</code> or <code>redo</code> to
100 * to <code>false</code>. Subclasses should override to undo the
108 public void undo() throws CannotUndoException { method in class:AbstractUndoableEdit
123 * @see #undo
154 * @see #undo
H A DUndoManager.java26 package javax.swing.undo;
34 * providing a way to undo or redo the appropriate edits. There are
50 * <code>undo</code> has been invoked it corresponds to the index
52 * <code>undo</code> is invoked all edits from the index of the next
67 * index of the next edit will be 4. Invoking <code>undo</code>
68 * results in invoking <code>undo</code> on <b>D</b> and setting the
80 * <code>undo</code> again invokes <code>undo</code> on <i>c</i>,
163 * Empties the undo manager sending each edit a <code>die</code> message
285 * Returns the the next significant edit to be undone if <code>undo</cod
407 public synchronized void undo() throws CannotUndoException { method in class:UndoManager
[all...]
H A DUndoableEditSupport.java26 package javax.swing.undo;
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DUndoableEditListener.java28 import javax.swing.undo.*;
H A DUndoableEditEvent.java28 import javax.swing.undo.*;
H A DDocumentEvent.java27 import javax.swing.undo.*;
/openjdk7/jdk/test/java/lang/instrument/
H A DRetransformApp.java45 out.println("undo");
46 RetransformAgent.undo();
H A DRetransformAgent.java129 public static void undo() { method in class:RetransformAgent
135 System.err.println("EXCEPTION on undo: " + ex);
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DNotepad.java50 import javax.swing.undo.*;
73 private static final String[] EDIT_KEYS = {"cut", "copy", "paste", "-", "undo", "redo"};
287 * Resets the undo manager.
290 undo.discardAllEdits();
455 protected UndoManager undo = new UndoManager(); field in class:Notepad
487 * added to <code>undo</code>, an instance of UndoManager.
490 undo.addEdit(e.getEdit());
538 undo.undo();
541 "Unable to undo", e
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStringContent.java29 import javax.swing.undo.*;
398 public void undo() throws CannotUndoException { method in class:StringContent.InsertUndo
399 super.undo();
435 // will only be valid after an undo.
438 // range that was removed, valid after undo.
456 public void undo() throws CannotUndoException { method in class:StringContent.RemoveUndo
457 super.undo();
492 // The string that was inserted. This will be null after an undo.
495 // range that was removed, valid before undo.
H A DGapContent.java31 import javax.swing.undo.AbstractUndoableEdit;
32 import javax.swing.undo.CannotRedoException;
33 import javax.swing.undo.CannotUndoException;
34 import javax.swing.undo.UndoableEdit;
698 // --- undo support --------------------------------------
865 public void undo() throws CannotUndoException { method in class:GapContent.InsertUndo
866 super.undo();
897 * undo. */
900 * range that was removed, valid after undo. */
917 public void undo() throw method in class:GapContent.RemoveUndo
[all...]
H A DGapVector.java29 import javax.swing.undo.UndoableEdit;
H A DAbstractDocument.java33 import javax.swing.undo.*;
474 * Adds an undo listener for notification of any changes.
487 * Removes an undo listener.
624 // only fire undo if Content implementation supports it
625 // undo for the composed text is not supported for now
750 // only fire undo if Content implementation supports it
751 // undo for the composed text is not supported for now
2798 public void undo() throws CannotUndoException { method in class:AbstractDocument.DefaultDocumentEvent
2802 super.undo();
2822 * @return whether the event is significant for edit undo purpose
3078 public void undo() throws CannotUndoException { method in class:AbstractDocument.ElementEdit
[all...]
H A DDefaultStyledDocument.java43 import javax.swing.undo.AbstractUndoableEdit;
44 import javax.swing.undo.CannotRedoException;
45 import javax.swing.undo.CannotUndoException;
46 import javax.swing.undo.UndoableEdit;
2551 public void undo() throws CannotUndoException { method in class:DefaultStyledDocument.AttributeUndoableEdit
2552 super.undo();
2595 public void undo() throws CannotUndoException { method in class:DefaultStyledDocument.StyleChangeUndoableEdit
2596 super.undo();
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksFrame.java185 JMenuItem undo = new JMenuItem("Undo");
191 undo.setEnabled(false);
203 edit.add(undo);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DDiagramScene.java80 import javax.swing.undo.AbstractUndoableEdit;
81 import javax.swing.undo.CannotRedoException;
82 import javax.swing.undo.CannotUndoException;
1201 public void undo() throws CannotUndoException { method in class:DiagramScene.DiagramUndoRedo
1202 super.undo();
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/
H A Dscriptpad.js57 javax.swing, javax.swing.undo,
/openjdk7/jdk/make/docs/
H A DCORE_PKGS.gmk213 javax.swing.undo \
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHTMLDocument.java35 import javax.swing.undo.*;

Completed in 1776 milliseconds