⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compoundedit.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="edits"><!-- --></A><H3>edits</H3><PRE>protected <A HREF="../../../java/util/Vector.html">Vector</A> <B>edits</B></PRE><DL><DD>The collection of UndoableEdits undone/redone en masse by this CompoundEdit</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="CompoundEdit()"><!-- --></A><H3>CompoundEdit</H3><PRE>public <B>CompoundEdit</B>()</PRE><DL></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="undo()"><!-- --></A><H3>undo</H3><PRE>public void <B>undo</B>()          throws <A HREF="../../../javax/swing/undo/CannotUndoException.html">CannotUndoException</A></PRE><DL><DD>Sends undo() to all contained UndoableEdits in the reverse of the order in which they were added.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#undo()">undo</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#canUndo()"><CODE>AbstractUndoableEdit.canUndo()</CODE></A></DL></DD></DL><HR><A NAME="redo()"><!-- --></A><H3>redo</H3><PRE>public void <B>redo</B>()          throws <A HREF="../../../javax/swing/undo/CannotRedoException.html">CannotRedoException</A></PRE><DL><DD>Sends redo() to all contained UndoableEdits in the order in which they were added.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#redo()">redo</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#canRedo()"><CODE>AbstractUndoableEdit.canRedo()</CODE></A></DL></DD></DL><HR><A NAME="lastEdit()"><!-- --></A><H3>lastEdit</H3><PRE>protected <A HREF="../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A> <B>lastEdit</B>()</PRE><DL><DD>Returns the last UndoableEdit in edits, or null if edits is empty</DL><HR><A NAME="die()"><!-- --></A><H3>die</H3><PRE>public void <B>die</B>()</PRE><DL><DD>Send die to each subedit, in the reverse of the order that they were added<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#die()">die</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.swing.undo.UndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/CompoundEdit.html#die()"><CODE>die()</CODE></A></DL></DD></DL><HR><A NAME="addEdit(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>addEdit</H3><PRE>public boolean <B>addEdit</B>(<A HREF="../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A>&nbsp;anEdit)</PRE><DL><DD>If this edit is inProgress, accepts anEdit and returns true.   <p>The last edit added to this CompoundEdit is given a chance to addEdit(anEdit). If it refuses (returns false), anEdit is given a chance to replaceEdit the last edit. If anEdit returns false here, it is added to edits.</p><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#addEdit(javax.swing.undo.UndoableEdit)">addEdit</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/UndoableEdit.html#addEdit(javax.swing.undo.UndoableEdit)"><CODE>UndoableEdit.addEdit(javax.swing.undo.UndoableEdit)</CODE></A></DL></DD></DL><HR><A NAME="end()"><!-- --></A><H3>end</H3><PRE>public void <B>end</B>()</PRE><DL><DD>Sets inProgress to false.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/CompoundEdit.html#canUndo()"><CODE>canUndo()</CODE></A>, <A HREF="../../../javax/swing/undo/CompoundEdit.html#canRedo()"><CODE>canRedo()</CODE></A></DL></DD></DL><HR><A NAME="canUndo()"><!-- --></A><H3>canUndo</H3><PRE>public boolean <B>canUndo</B>()</PRE><DL><DD>Returns false if isInProgress or if super does.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#canUndo()">canUndo</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/CompoundEdit.html#isInProgress()"><CODE>isInProgress()</CODE></A></DL></DD></DL><HR><A NAME="canRedo()"><!-- --></A><H3>canRedo</H3><PRE>public boolean <B>canRedo</B>()</PRE><DL><DD>Returns false if isInProgress or if super does.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#canRedo()">canRedo</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/CompoundEdit.html#isInProgress()"><CODE>isInProgress()</CODE></A></DL></DD></DL><HR><A NAME="isInProgress()"><!-- --></A><H3>isInProgress</H3><PRE>public boolean <B>isInProgress</B>()</PRE><DL><DD>Returns true if this edit is in progress--that is, it has not received end. This generally means that edits are still being added to it.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/CompoundEdit.html#end()"><CODE>end()</CODE></A></DL></DD></DL><HR><A NAME="isSignificant()"><!-- --></A><H3>isSignificant</H3><PRE>public boolean <B>isSignificant</B>()</PRE><DL><DD>Returns true if any of the UndoableEdits in edits do. Returns false if they all return false.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#isSignificant()">isSignificant</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/UndoableEdit.html#isSignificant()"><CODE>UndoableEdit.isSignificant()</CODE></A></DL></DD></DL><HR><A NAME="getPresentationName()"><!-- --></A><H3>getPresentationName</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getPresentationName</B>()</PRE><DL><DD>Returns getPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getPresentationName()">getPresentationName</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getUndoPresentationName()"><CODE>AbstractUndoableEdit.getUndoPresentationName()</CODE></A>, <A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getRedoPresentationName()"><CODE>AbstractUndoableEdit.getRedoPresentationName()</CODE></A></DL></DD></DL><HR><A NAME="getUndoPresentationName()"><!-- --></A><H3>getUndoPresentationName</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getUndoPresentationName</B>()</PRE><DL><DD>Returns getUndoPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getUndoPresentationName()">getUndoPresentationName</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getPresentationName()"><CODE>AbstractUndoableEdit.getPresentationName()</CODE></A></DL></DD></DL><HR><A NAME="getRedoPresentationName()"><!-- --></A><H3>getRedoPresentationName</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getRedoPresentationName</B>()</PRE><DL><DD>Returns getRedoPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getRedoPresentationName()">getRedoPresentationName</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.undo.AbstractUndoableEdit</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html#getPresentationName()"><CODE>AbstractUndoableEdit.getPresentationName()</CODE></A></DL></DD></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="../../../javax/swing/undo/AbstractUndoableEdit.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html">AbstractUndoableEdit</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CompoundEdit.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/swing/undo/AbstractUndoableEdit.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/swing/undo/StateEdit.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>  &nbsp;&nbsp;<A HREF="CompoundEdit.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -