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

📄 swtscrollableviewdecorator.html

📁 Java开发图文混排的编辑器文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class jexi.ui.<A HREF="../../../jexi/ui/ViewDecorator.html" title="class in jexi.ui">ViewDecorator</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../jexi/ui/ViewDecorator.html#init(jexi.core.Document)">init</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onFormatChanged(java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, jexi.ui.Color)">onFormatChanged</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onFunctionKeyPressed(int, boolean, boolean, boolean)">onFunctionKeyPressed</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onInsertPictureFromFile(java.lang.String)">onInsertPictureFromFile</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onKeyPressed(char)">onKeyPressed</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onLButtonDblClick(int, int)">onLButtonDblClick</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onLButtonDown(int, int)">onLButtonDown</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onLButtonUp(int, int)">onLButtonUp</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onRButtonDown(int, int)">onRButtonDown</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onRButtonUp(int, int)">onRButtonUp</A>, <A HREF="../../../jexi/ui/ViewDecorator.html#onSetCaret(int, int, int)">onSetCaret</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

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


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

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

<A NAME="SWTScrollableViewDecorator(jexi.ui.View, org.eclipse.swt.widgets.Slider, org.eclipse.swt.widgets.Slider)"><!-- --></A><H3>
SWTScrollableViewDecorator</H3>
<PRE>
public <B>SWTScrollableViewDecorator</B>(<A HREF="../../../jexi/ui/View.html" title="interface in jexi.ui">View</A>&nbsp;view,                                  org.eclipse.swt.widgets.Slider&nbsp;sliderH,                                  org.eclipse.swt.widgets.Slider&nbsp;sliderV)</PRE>
<DL>
</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="update()"><!-- --></A><H3>
update</H3>
<PRE>
public void <B>update</B>()</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>Update view. Called by Frame or Document.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDocument(jexi.core.Document)"><!-- --></A><H3>
setDocument</H3>
<PRE>
public void <B>setDocument</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>Set the document. Called by Frame.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document object.</DL>
</DD>
</DL>
<HR>

<A NAME="onSizeChanged(int, int)"><!-- --></A><H3>
onSizeChanged</H3>
<PRE>
public void <B>onSizeChanged</B>(int&nbsp;width,                          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>Set the new size when size changed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - The new width of the view.<DD><CODE>height</CODE> - The new height of the view.</DL>
</DD>
</DL>
<HR>

<A NAME="ensureCaretVisible()"><!-- --></A><H3>
ensureCaretVisible</H3>
<PRE>
public void <B>ensureCaretVisible</B>()</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>To ensure the caret is visible.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onDocumentSizeChanged()"><!-- --></A><H3>
onDocumentSizeChanged</H3>
<PRE>
public void <B>onDocumentSizeChanged</B>()</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 document's size changed (Page added or removed, or Page size changed),  document will invoke this method to notify view to adjust it's data. Then  view's update() will be called later on.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setOffsetX(int)"><!-- --></A><H3>
setOffsetX</H3>
<PRE>
public void <B>setOffsetX</B>(int&nbsp;x)</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>Set the new offset of x.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The offset of x.</DL>
</DD>
</DL>
<HR>

<A NAME="setOffsetY(int)"><!-- --></A><H3>
setOffsetY</H3>
<PRE>
public void <B>setOffsetY</B>(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>Set the new offset of y.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - The offset of y.</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/SWTScrollableViewDecorator.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/swt/SWTPictureFactory.html" title="class in jexi.ui.swt"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../jexi/ui/swt/SWTTextView.html" title="class in jexi.ui.swt"><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="SWTScrollableViewDecorator.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 + -