📄 undoableeditsupport.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="updateLevel"><!-- --></A><H3>updateLevel</H3><PRE>protected int <B>updateLevel</B></PRE><DL></DL><HR><A NAME="compoundEdit"><!-- --></A><H3>compoundEdit</H3><PRE>protected <A HREF="../../../javax/swing/undo/CompoundEdit.html">CompoundEdit</A> <B>compoundEdit</B></PRE><DL></DL><HR><A NAME="listeners"><!-- --></A><H3>listeners</H3><PRE>protected <A HREF="../../../java/util/Vector.html">Vector</A> <B>listeners</B></PRE><DL></DL><HR><A NAME="realSource"><!-- --></A><H3>realSource</H3><PRE>protected <A HREF="../../../java/lang/Object.html">Object</A> <B>realSource</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="UndoableEditSupport()"><!-- --></A><H3>UndoableEditSupport</H3><PRE>public <B>UndoableEditSupport</B>()</PRE><DL><DD>Constructs an UndoableEditSupport object.</DL><HR><A NAME="UndoableEditSupport(java.lang.Object)"><!-- --></A><H3>UndoableEditSupport</H3><PRE>public <B>UndoableEditSupport</B>(<A HREF="../../../java/lang/Object.html">Object</A> r)</PRE><DL><DD>Constructs an UndoableEditSupport object.<DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - an Object</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addUndoableEditListener(javax.swing.event.UndoableEditListener)"><!-- --></A><H3>addUndoableEditListener</H3><PRE>public void <B>addUndoableEditListener</B>(<A HREF="../../../javax/swing/event/UndoableEditListener.html">UndoableEditListener</A> l)</PRE><DL><DD>Registers an UndoableEditListener. The listener is notified whenever an edit occurs which can be undone.<DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - an UndoableEditListener object<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/UndoableEditSupport.html#removeUndoableEditListener(javax.swing.event.UndoableEditListener)"><CODE>removeUndoableEditListener(javax.swing.event.UndoableEditListener)</CODE></A></DL></DD></DL><HR><A NAME="removeUndoableEditListener(javax.swing.event.UndoableEditListener)"><!-- --></A><H3>removeUndoableEditListener</H3><PRE>public void <B>removeUndoableEditListener</B>(<A HREF="../../../javax/swing/event/UndoableEditListener.html">UndoableEditListener</A> l)</PRE><DL><DD>Removes an UndoableEditListener.<DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - an UndoableEditListener object<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/UndoableEditSupport.html#addUndoableEditListener(javax.swing.event.UndoableEditListener)"><CODE>addUndoableEditListener(javax.swing.event.UndoableEditListener)</CODE></A></DL></DD></DL><HR><A NAME="_postEdit(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>_postEdit</H3><PRE>protected void <B>_postEdit</B>(<A HREF="../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A> e)</PRE><DL><DD>Called only from postEdit and endUpdate. Calls undoableEditHappened in all listeners. No synchronization is performed here, since the two calling methods are synchonized.</DL><HR><A NAME="postEdit(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>postEdit</H3><PRE>public void <B>postEdit</B>(<A HREF="../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A> e)</PRE><DL><DD>DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.</DL><HR><A NAME="getUpdateLevel()"><!-- --></A><H3>getUpdateLevel</H3><PRE>public int <B>getUpdateLevel</B>()</PRE><DL><DD>Returns the update level value.<DD><DL><DT><B>Returns:</B><DD>an int representing the update level</DL></DD></DL><HR><A NAME="beginUpdate()"><!-- --></A><H3>beginUpdate</H3><PRE>public void <B>beginUpdate</B>()</PRE><DL></DL><HR><A NAME="createCompoundEdit()"><!-- --></A><H3>createCompoundEdit</H3><PRE>protected <A HREF="../../../javax/swing/undo/CompoundEdit.html">CompoundEdit</A> <B>createCompoundEdit</B>()</PRE><DL><DD>Called only from beginUpdate. Exposed here for subclasses' use</DL><HR><A NAME="endUpdate()"><!-- --></A><H3>endUpdate</H3><PRE>public void <B>endUpdate</B>()</PRE><DL><DD>DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.</DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string that displays and identifies this object's properties.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String representation of this object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/UndoableEditSupport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/swing/undo/StateEdit.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/swing/undo/UndoManager.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="UndoableEditSupport.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -