📄 asyncboxview.childstate.html
字号:
<!-- ============ FIELD DETAIL =========== --><!-- ========= 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="AsyncBoxView.ChildState(javax.swing.text.AsyncBoxView, javax.swing.text.View)"><!-- --></A><H3>AsyncBoxView.ChildState</H3><PRE>public <B>AsyncBoxView.ChildState</B>(<A HREF="../../../javax/swing/text/View.html">View</A> v)</PRE><DL><DD>Construct a child status. This needs to start out as fairly large so we don't falsely begin with the idea that all of the children are visible.</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="getChildView()"><!-- --></A><H3>getChildView</H3><PRE>public <A HREF="../../../javax/swing/text/View.html">View</A> <B>getChildView</B>()</PRE><DL><DD>Fetch the child view this record represents<DD><DL></DL></DD></DL><HR><A NAME="run()"><!-- --></A><H3>run</H3><PRE>public void <B>run</B>()</PRE><DL><DD>Update the child state. This should be called by the thread that desires to spend time updating the child state (intended to be the layout thread). <p> This aquires a read lock on the associated document for the duration of the update to ensure the model is not changed while it is operating. The first thing to do would be to see if any work actually needs to be done. The following could have conceivably happened while the state was waiting to be updated: <ol> <li>The child may have been removed from the view hierarchy. <li>The child may have been updated by a higher priority operation (i.e. the child may have become visible). </ol><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/lang/Runnable.html#run()">run</A></CODE> in interface <CODE><A HREF="../../../java/lang/Runnable.html">Runnable</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.lang.Runnable</CODE></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/lang/Thread.html#run()"><CODE>Thread.run()</CODE></A></DL></DD></DL><HR><A NAME="getMinorSpan()"><!-- --></A><H3>getMinorSpan</H3><PRE>public float <B>getMinorSpan</B>()</PRE><DL><DD>What is the span along the minor axis.<DD><DL></DL></DD></DL><HR><A NAME="getMinorOffset()"><!-- --></A><H3>getMinorOffset</H3><PRE>public float <B>getMinorOffset</B>()</PRE><DL><DD>What is the offset along the minor axis<DD><DL></DL></DD></DL><HR><A NAME="getMajorSpan()"><!-- --></A><H3>getMajorSpan</H3><PRE>public float <B>getMajorSpan</B>()</PRE><DL><DD>What is the span along the major axis.<DD><DL></DL></DD></DL><HR><A NAME="getMajorOffset()"><!-- --></A><H3>getMajorOffset</H3><PRE>public float <B>getMajorOffset</B>()</PRE><DL><DD>Get the offset along the major axis<DD><DL></DL></DD></DL><HR><A NAME="setMajorOffset(float)"><!-- --></A><H3>setMajorOffset</H3><PRE>public void <B>setMajorOffset</B>(float offs)</PRE><DL><DD>This method should only be called by the ChildLocator, it is simply a convenient place to hold the cached location.<DD><DL></DL></DD></DL><HR><A NAME="preferenceChanged(boolean, boolean)"><!-- --></A><H3>preferenceChanged</H3><PRE>public void <B>preferenceChanged</B>(boolean width, boolean height)</PRE><DL><DD>Mark preferences changed for this child.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - true if the width preference has changed<DD><CODE>height</CODE> - true if the height preference has changed<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/JComponent.html#revalidate()"><CODE>JComponent.revalidate()</CODE></A></DL></DD></DL><HR><A NAME="isLayoutValid()"><!-- --></A><H3>isLayoutValid</H3><PRE>public boolean <B>isLayoutValid</B>()</PRE><DL><DD>Has the child view been laid out.<DD><DL></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/AsyncBoxView.ChildState.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/text/AsyncBoxView.ChildLocator.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/swing/text/BoxView.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="AsyncBoxView.ChildState.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -