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

📄 commandmanager.html

📁 Java开发图文混排的编辑器文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="instance()"><!-- --></A><H3>
instance</H3>
<PRE>
public static <A HREF="../../../jexi/core/command/CommandManager.html" title="class in jexi.core.command">CommandManager</A> <B>instance</B>()</PRE>
<DL>
<DD>Get the only instance of the CommandManager.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The instance of the CommandManager.</DL>
</DD>
</DL>
<HR>

<A NAME="undo()"><!-- --></A><H3>
undo</H3>
<PRE>
public void <B>undo</B>()</PRE>
<DL>
<DD>Undo the last command.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="canRedo()"><!-- --></A><H3>
canRedo</H3>
<PRE>
public boolean <B>canRedo</B>()</PRE>
<DL>
<DD>Can redo the last undo command?
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if can redo.</DL>
</DD>
</DL>
<HR>

<A NAME="redo()"><!-- --></A><H3>
redo</H3>
<PRE>
public void <B>redo</B>()</PRE>
<DL>
<DD>Redo the last cancelled command.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="canUndo()"><!-- --></A><H3>
canUndo</H3>
<PRE>
public boolean <B>canUndo</B>()</PRE>
<DL>
<DD>Can undo the last command?
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if can undo.</DL>
</DD>
</DL>
<HR>

<A NAME="newInsertCommand(jexi.core.Document, char)"><!-- --></A><H3>
newInsertCommand</H3>
<PRE>
public void <B>newInsertCommand</B>(<A HREF="../../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;doc,                             char&nbsp;c)</PRE>
<DL>
<DD>Create a new insert command and execute it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document object.<DD><CODE>c</CODE> - The char of the key.</DL>
</DD>
</DL>
<HR>

<A NAME="newInsertPictureCommand(jexi.core.Document, java.lang.String)"><!-- --></A><H3>
newInsertPictureCommand</H3>
<PRE>
public void <B>newInsertPictureCommand</B>(<A HREF="../../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;doc,                                    java.lang.String&nbsp;filename)</PRE>
<DL>
<DD>Create a new insert picture command and execute it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document object.<DD><CODE>filename</CODE> - The picture file name.</DL>
</DD>
</DL>
<HR>

<A NAME="newFormatCommand(jexi.core.Document, java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, jexi.ui.Color)"><!-- --></A><H3>
newFormatCommand</H3>
<PRE>
public void <B>newFormatCommand</B>(<A HREF="../../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;doc,                             java.lang.String&nbsp;fontName,                             java.lang.Integer&nbsp;fontSize,                             java.lang.Boolean&nbsp;bold,                             java.lang.Boolean&nbsp;italic,                             java.lang.Boolean&nbsp;underlined,                             <A HREF="../../../jexi/ui/Color.html" title="interface in jexi.ui">Color</A>&nbsp;color)</PRE>
<DL>
<DD>Create a new format command and execute it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document object.<DD><CODE>fontName</CODE> - The font name, or null if ignore.<DD><CODE>fontSize</CODE> - The font size, or null if ignore.<DD><CODE>bold</CODE> - The bold attribute, or null if ignore.<DD><CODE>italic</CODE> - The italic attribute, or null if ignore.<DD><CODE>underlined</CODE> - The underlined attribute, or null if ignore.<DD><CODE>color</CODE> - The color, or null if ignore.</DL>
</DD>
</DL>
<HR>

<A NAME="newDeleteCommand(jexi.core.Document)"><!-- --></A><H3>
newDeleteCommand</H3>
<PRE>
public void <B>newDeleteCommand</B>(<A HREF="../../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;doc)</PRE>
<DL>
<DD>Create a new delete command and execute it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document object.</DL>
</DD>
</DL>
<HR>

<A NAME="newSplitCommand(jexi.core.Document)"><!-- --></A><H3>
newSplitCommand</H3>
<PRE>
public void <B>newSplitCommand</B>(<A HREF="../../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;doc)</PRE>
<DL>
<DD>Create a new break command and execute it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document object.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <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/CommandManager.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>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../jexi/core/command/DeleteCommand.html" title="class in jexi.core.command"><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="CommandManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -