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

📄 viewdecorator.html

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

<A NAME="ViewDecorator(jexi.ui.View)"><!-- --></A><H3>
ViewDecorator</H3>
<PRE>
public <B>ViewDecorator</B>(<A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A>&nbsp;component)</PRE>
<DL>
<DD>To create a wrapped view.
<P>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - The view component that will be decorated (or wrapped).</DL>

<!-- ============ 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="onMouseMove(int, int)"><!-- --></A><H3>
onMouseMove</H3>
<PRE>
public void <B>onMouseMove</B>(int&nbsp;x,                        int&nbsp;y)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>The mouse move event.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onMouseMove(int, int)">onMouseMove</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - Point x.<DD><CODE>y</CODE> - Point y.</DL>
</DD>
</DL>
<HR>

<A NAME="onLButtonDown(int, int)"><!-- --></A><H3>
onLButtonDown</H3>
<PRE>
public void <B>onLButtonDown</B>(int&nbsp;x,                          int&nbsp;y)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onLButtonDown(int, int)">onLButtonDown</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onLButtonUp(int, int)"><!-- --></A><H3>
onLButtonUp</H3>
<PRE>
public void <B>onLButtonUp</B>(int&nbsp;x,                        int&nbsp;y)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onLButtonUp(int, int)">onLButtonUp</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onRButtonDown(int, int)"><!-- --></A><H3>
onRButtonDown</H3>
<PRE>
public void <B>onRButtonDown</B>(int&nbsp;x,                          int&nbsp;y)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onRButtonDown(int, int)">onRButtonDown</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onRButtonUp(int, int)"><!-- --></A><H3>
onRButtonUp</H3>
<PRE>
public void <B>onRButtonUp</B>(int&nbsp;x,                        int&nbsp;y)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onRButtonUp(int, int)">onRButtonUp</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onLButtonDblClick(int, int)"><!-- --></A><H3>
onLButtonDblClick</H3>
<PRE>
public void <B>onLButtonDblClick</B>(int&nbsp;x,                              int&nbsp;y)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onLButtonDblClick(int, int)">onLButtonDblClick</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onSetCaret(int, int, int)"><!-- --></A><H3>
onSetCaret</H3>
<PRE>
public void <B>onSetCaret</B>(int&nbsp;x,                       int&nbsp;y,                       int&nbsp;height)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>Caret2 must reset to the new point with new height.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onSetCaret(int, int, int)">onSetCaret</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The point x.<DD><CODE>y</CODE> - The point y.<DD><CODE>height</CODE> - The height of the caret.</DL>
</DD>
</DL>
<HR>

<A NAME="init(jexi.core.Document)"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>(<A HREF="../../jexi/core/Document.html" title="class in jexi.core">Document</A>&nbsp;document)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>Init the view.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#init(jexi.core.Document)">init</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onKeyPressed(char)"><!-- --></A><H3>
onKeyPressed</H3>
<PRE>
public void <B>onKeyPressed</B>(char&nbsp;c)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>User pressed a key that can be displayed. <br> <b>NOTE</b>: This event will not be triggered if function keys  are pressed such as "Ctrl+?", "F1-F12", "Home", etc.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onKeyPressed(char)">onKeyPressed</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - The char value represent the key.</DL>
</DD>
</DL>
<HR>

<A NAME="onFunctionKeyPressed(int, boolean, boolean, boolean)"><!-- --></A><H3>
onFunctionKeyPressed</H3>
<PRE>
public void <B>onFunctionKeyPressed</B>(int&nbsp;keycode,                                 boolean&nbsp;shift,                                 boolean&nbsp;ctrl,                                 boolean&nbsp;alt)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>User pressed a function key such as "Enter", "Right",  "F1", "Home", etc.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onFunctionKeyPressed(int, boolean, boolean, boolean)">onFunctionKeyPressed</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>keycode</CODE> - The keycode.<DD><CODE>shift</CODE> - The shift key is pressed or not.<DD><CODE>ctrl</CODE> - The ctrl key is pressed or not.<DD><CODE>alt</CODE> - The alt key is pressed or not.</DL>
</DD>
</DL>
<HR>

<A NAME="onFormatChanged(java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, jexi.ui.Color)"><!-- --></A><H3>
onFormatChanged</H3>
<PRE>
public void <B>onFormatChanged</B>(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><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>When user changed the font name of the selected text.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onFormatChanged(java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, jexi.ui.Color)">onFormatChanged</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><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="onInsertPictureFromFile(java.lang.String)"><!-- --></A><H3>
onInsertPictureFromFile</H3>
<PRE>
public void <B>onInsertPictureFromFile</B>(java.lang.String&nbsp;filename)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></B></DD>
<DD>User want to insert a picture from file.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../jexi/ui/View.html#onInsertPictureFromFile(java.lang.String)">onInsertPictureFromFile</A></CODE> in interface <CODE><A HREF="../../jexi/ui/View.html" title="interface in jexi.ui">View</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - The picture file.</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/ViewDecorator.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;<A HREF="../../jexi/ui/View.html" title="interface in jexi.ui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ViewDecorator.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;<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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 + -