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

📄 inlineview.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.View"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/View.html">View</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/View.html#append(javax.swing.text.View)">append</A>, <A HREF="../../../../javax/swing/text/View.html#forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdate</A>, <A HREF="../../../../javax/swing/text/View.html#forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdateToView</A>, <A HREF="../../../../javax/swing/text/View.html#getChildAllocation(int, java.awt.Shape)">getChildAllocation</A>, <A HREF="../../../../javax/swing/text/View.html#getContainer()">getContainer</A>, <A HREF="../../../../javax/swing/text/View.html#getDocument()">getDocument</A>, <A HREF="../../../../javax/swing/text/View.html#getElement()">getElement</A>, <A HREF="../../../../javax/swing/text/View.html#getGraphics()">getGraphics</A>, <A HREF="../../../../javax/swing/text/View.html#getMaximumSpan(int)">getMaximumSpan</A>, <A HREF="../../../../javax/swing/text/View.html#getMinimumSpan(int)">getMinimumSpan</A>, <A HREF="../../../../javax/swing/text/View.html#getParent()">getParent</A>, <A HREF="../../../../javax/swing/text/View.html#getResizeWeight(int)">getResizeWeight</A>, <A HREF="../../../../javax/swing/text/View.html#getView(int)">getView</A>, <A HREF="../../../../javax/swing/text/View.html#getViewCount()">getViewCount</A>, <A HREF="../../../../javax/swing/text/View.html#getViewFactory()">getViewFactory</A>, <A HREF="../../../../javax/swing/text/View.html#getViewIndex(int, javax.swing.text.Position.Bias)">getViewIndex</A>, <A HREF="../../../../javax/swing/text/View.html#insert(int, javax.swing.text.View)">insert</A>, <A HREF="../../../../javax/swing/text/View.html#isVisible()">isVisible</A>, <A HREF="../../../../javax/swing/text/View.html#modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape)">modelToView</A>, <A HREF="../../../../javax/swing/text/View.html#modelToView(int, java.awt.Shape)">modelToView</A>, <A HREF="../../../../javax/swing/text/View.html#preferenceChanged(javax.swing.text.View, boolean, boolean)">preferenceChanged</A>, <A HREF="../../../../javax/swing/text/View.html#remove(int)">remove</A>, <A HREF="../../../../javax/swing/text/View.html#removeAll()">removeAll</A>, <A HREF="../../../../javax/swing/text/View.html#replace(int, int, javax.swing.text.View[])">replace</A>, <A HREF="../../../../javax/swing/text/View.html#setParent(javax.swing.text.View)">setParent</A>, <A HREF="../../../../javax/swing/text/View.html#setSize(float, float)">setSize</A>, <A HREF="../../../../javax/swing/text/View.html#updateChildren(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory)">updateChildren</A>, <A HREF="../../../../javax/swing/text/View.html#updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape)">updateLayout</A>, <A HREF="../../../../javax/swing/text/View.html#viewToModel(float, float, java.awt.Shape)">viewToModel</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.TabableView"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface javax.swing.text.<A HREF="../../../../javax/swing/text/TabableView.html">TabableView</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/TabableView.html#getPartialSpan(int, int)">getPartialSpan</A>, <A HREF="../../../../javax/swing/text/TabableView.html#getTabbedSpan(float, javax.swing.text.TabExpander)">getTabbedSpan</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ 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="InlineView(javax.swing.text.Element)"><!-- --></A><H3>InlineView</H3><PRE>public <B>InlineView</B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</PRE><DL><DD>Constructs a new view wrapped on an element.<DD><DL><DT><B>Parameters:</B><DD><CODE>elem</CODE> - the element</DL></DD></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="changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)"><!-- --></A><H3>changedUpdate</H3><PRE>public void <B>changedUpdate</B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,                          <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,                          <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</PRE><DL><DD>Gives notification from the document that attributes were changed in a location that this view is responsible for.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/LabelView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/LabelView.html">LabelView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the change information from the associated document<DD><CODE>a</CODE> - the current allocation of the view<DD><CODE>f</CODE> - the factory to use to rebuild if the view has children<DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/text/View.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)"><CODE>View.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)</CODE></A></DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A> <B>getAttributes</B>()</PRE><DL><DD>Fetches the attributes to use when rendering.  This is implemented to multiplex the attributes specified in the model with a StyleSheet.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/View.html#getAttributes()">getAttributes</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/View.html">View</A></CODE></DL></DD></DL><HR><A NAME="getBreakWeight(int, float, float)"><!-- --></A><H3>getBreakWeight</H3><PRE>public int <B>getBreakWeight</B>(int&nbsp;axis,                          float&nbsp;pos,                          float&nbsp;len)</PRE><DL><DD>Determines how attractive a break opportunity in  this view is.  This can be used for determining which view is the most attractive to call <code>breakView</code> on in the process of formatting.  A view that represents text that has whitespace in it might be more attractive than a view that has no whitespace, for example.  The higher the weight, the more attractive the break.  A value equal to or lower than <code>BadBreakWeight</code> should not be considered for a break.  A value greater than or equal to <code>ForcedBreakWeight</code> should be broken. <p> This is implemented to provide the default behavior of returning <code>BadBreakWeight</code> unless the length is greater than the length of the view in which case the  entire view represents the fragment.  Unless a view has been written to support breaking behavior, it is not attractive to try and break the view.  An example of a view that does support breaking is <code>LabelView</code>. An example of a view that uses break weight is  <code>ParagraphView</code>.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/GlyphView.html#getBreakWeight(int, float, float)">getBreakWeight</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/GlyphView.html">GlyphView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - may be either View.X_AXIS or View.Y_AXIS<DD><CODE>pos</CODE> - the potential location of the start of the    broken view >= 0.  This may be useful for calculating tab   positions.<DD><CODE>len</CODE> - specifies the relative length from <em>pos</em>   where a potential break is desired >= 0.<DT><B>Returns:</B><DD>the weight, which should be a value between   ForcedBreakWeight and BadBreakWeight.<DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/text/LabelView.html"><CODE>LabelView</CODE></A>, <A HREF="../../../../javax/swing/text/html/ParagraphView.html"><CODE>ParagraphView</CODE></A>, <A HREF="../../../../javax/swing/text/View.html#BadBreakWeight"><CODE>View.BadBreakWeight</CODE></A>, <A HREF="../../../../javax/swing/text/View.html#GoodBreakWeight"><CODE>View.GoodBreakWeight</CODE></A>, <A HREF="../../../../javax/swing/text/View.html#ExcellentBreakWeight"><CODE>View.ExcellentBreakWeight</CODE></A>, <A HREF="../../../../javax/swing/text/View.html#ForcedBreakWeight"><CODE>View.ForcedBreakWeight</CODE></A></DL></DD></DL><HR><A NAME="setPropertiesFromAttributes()"><!-- --></A><H3>setPropertiesFromAttributes</H3><PRE>protected void <B>setPropertiesFromAttributes</B>()</PRE><DL><DD>Set the cached properties from the attributes.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/LabelView.html#setPropertiesFromAttributes()">setPropertiesFromAttributes</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/LabelView.html">LabelView</A></CODE></DL></DD></DL><HR><A NAME="getStyleSheet()"><!-- --></A><H3>getStyleSheet</H3><PRE>protected <A HREF="../../../../javax/swing/text/html/StyleSheet.html">StyleSheet</A> <B>getStyleSheet</B>()</PRE><DL></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/InlineView.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/text/html/HTMLWriter.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/swing/text/html/ListView.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="InlineView.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_javax.swing.text.GlyphView">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.View">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;FIELD&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 + -