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

12

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/undo/
H A Dpackage-info.java27 * Allows developers to provide support for undo/redo in applications such as
43 * <li><a href="http://docs.oracle.com/javase/tutorial/uiswing/components/generaltext.html#undo"
51 package 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 DUndoManager.java26 package javax.swing.undo;
35 * providing a way to undo or redo the appropriate edits. There are
51 * <code>undo</code> has been invoked it corresponds to the index
53 * <code>undo</code> is invoked all edits from the index of the next
69 * index of the next edit will be 4. Invoking <code>undo</code>
70 * results in invoking <code>undo</code> on <b>D</b> and setting the
83 * <code>undo</code> again invokes <code>undo</code> on <i>c</i>,
174 * Empties the undo manager sending each edit a <code>die</code> message
296 * Returns the next significant edit to be undone if <code>undo</cod
415 public void undo() throws CannotUndoException { method in class:UndoManager
[all...]
H A DCompoundEdit.java25 package javax.swing.undo;
58 * Sends <code>undo</code> to all contained
62 public void undo() throws CannotUndoException { method in class:CompoundEdit
63 super.undo();
67 e.undo();
H A DStateEdit.java26 package javax.swing.undo;
37 * Hashtables before and after editing occurs. Upon undo or redo the
87 * The undo/redo presentation name
152 public void undo() { method in class:StateEdit
153 super.undo();
H A DAbstractUndoableEdit.java26 package javax.swing.undo;
87 * Sending <code>undo</code> or <code>redo</code> to
101 * to <code>false</code>. Subclasses should override to undo the
109 public void undo() throws CannotUndoException { method in class:AbstractUndoableEdit
124 * @see #undo
155 * @see #undo
H A DUndoableEditSupport.java26 package javax.swing.undo;
/openjdk10/jdk/src/java.desktop/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.*;
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/text/
H A DUndoableEditLockSupport.java27 import javax.swing.undo.UndoableEdit;
30 * UndoableEdit support for undo/redo actions synchronization
35 * lock the UndoableEdit for threadsafe undo/redo
/openjdk10/jdk/test/javax/swing/JPopupMenu/8075063/
H A DContextMenuScrollTest.java49 private JMenuItem undo; field in class:ContextMenuScrollTest
114 undo = new JMenuItem("Undo");
115 undo.setEnabled(false);
116 undo.setAccelerator(KeyStroke.getKeyStroke("control Z"));
117 undo.addActionListener(new ActionListener() {
123 menu.add(undo);
/openjdk10/jdk/test/java/lang/instrument/
H A DRetransformApp.java45 out.println("undo");
46 RetransformAgent.undo();
H A DRetransformAgent.java141 public static void undo() { method in class:RetransformAgent
147 System.err.println("EXCEPTION on undo: " + ex);
/openjdk10/jdk/test/javax/swing/undo/UndoManager/
H A DAbstractDocumentUndoConcurrentTest.java32 import javax.swing.undo.UndoManager;
111 undoManager.undo();
/openjdk10/jdk/src/demo/share/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...]
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DPerfectHashBuilder.java310 List<Integer> undo = new ArrayList<>();
330 undo.stream().forEach((i) -> {
334 // Reset the undo list and bump up the hash seed.
335 undo.clear();
349 undo.add(index);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DStringContent.java29 import javax.swing.undo.*;
402 public void undo() throws CannotUndoException { method in class:StringContent.InsertUndo
403 super.undo();
439 // will only be valid after an undo.
442 // range that was removed, valid after undo.
462 public void undo() throws CannotUndoException { method in class:StringContent.RemoveUndo
463 super.undo();
499 // The string that was inserted. This will be null after an undo.
502 // 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;
699 // --- undo support --------------------------------------
873 public void undo() throws CannotUndoException { method in class:GapContent.InsertUndo
874 super.undo();
905 * undo. */
908 * range that was removed, valid after undo. */
928 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.*;
479 * Adds an undo listener for notification of any changes.
492 * Removes an undo listener.
629 // only fire undo if Content implementation supports it
630 // undo for the composed text is not supported for now
758 // only fire undo if Content implementation supports it
759 // undo for the composed text is not supported for now
2820 public void undo() throws CannotUndoException { method in class:AbstractDocument.DefaultDocumentEvent
2824 super.undo();
2844 * @return whether the event is significant for edit undo purpose
2973 public void undo() throws CannotUndoException { method in class:AbstractDocument.DefaultDocumentEventUndoableWrapper
3180 public void undo() throws CannotUndoException { method in class:AbstractDocument.ElementEdit
[all...]
/openjdk10/jdk/src/demo/share/jfc/Metalworks/
H A DMetalworksFrame.java185 JMenuItem undo = new JMenuItem("Undo");
191 undo.setEnabled(false);
203 edit.add(undo);

Completed in 145 milliseconds

12