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

📄 tableview.tablerow.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="layoutMajorAxis(int, int, int[], int[])"><!-- --></A><H3>layoutMajorAxis</H3><PRE>protected void <B>layoutMajorAxis</B>(int&nbsp;targetSpan,                               int&nbsp;axis,                               int[]&nbsp;offsets,                               int[]&nbsp;spans)</PRE><DL><DD>Perform layout for the major axis of the box (i.e. the axis that it represents).  The results of the layout should be placed in the given arrays which represent the allocations to the children along the major axis.   <p> This is re-implemented to give each child the span of the column  width for the table, and to give cells that span multiple columns  the multi-column span.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/BoxView.html#layoutMajorAxis(int, int, int[], int[])">layoutMajorAxis</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>targetSpan</CODE> - the total span given to the view, which  whould be used to layout the children.<DD><CODE>axis</CODE> - the axis being layed out.<DD><CODE>offsets</CODE> - the offsets from the origin of the view for  each of the child views.  This is a return value and is  filled in by the implementation of this method.<DD><CODE>spans</CODE> - the span of each child view.  This is a return  value and is filled in by the implementation of this method.</DL></DD></DL><HR><A NAME="layoutMinorAxis(int, int, int[], int[])"><!-- --></A><H3>layoutMinorAxis</H3><PRE>protected void <B>layoutMinorAxis</B>(int&nbsp;targetSpan,                               int&nbsp;axis,                               int[]&nbsp;offsets,                               int[]&nbsp;spans)</PRE><DL><DD>Perform layout for the minor axis of the box (i.e. the axis orthoginal to the axis that it represents).  The results  of the layout should be placed in the given arrays which represent  the allocations to the children along the minor axis.  This  is called by the superclass whenever the layout needs to be  updated along the minor axis. <p> This is implemented to delegate to the superclass, then adjust the span for any cell that spans multiple rows.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/BoxView.html#layoutMinorAxis(int, int, int[], int[])">layoutMinorAxis</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>targetSpan</CODE> - the total span given to the view, which  whould be used to layout the children.<DD><CODE>axis</CODE> - the axis being layed out.<DD><CODE>offsets</CODE> - the offsets from the origin of the view for  each of the child views.  This is a return value and is  filled in by the implementation of this method.<DD><CODE>spans</CODE> - the span of each child view.  This is a return  value and is filled in by the implementation of this method.</DL></DD></DL><HR><A NAME="getResizeWeight(int)"><!-- --></A><H3>getResizeWeight</H3><PRE>public int <B>getResizeWeight</B>(int&nbsp;axis)</PRE><DL><DD>Determines the resizability of the view along the given axis.  A value of 0 or less is not resizable.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/BoxView.html#getResizeWeight(int)">getResizeWeight</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - may be either View.X_AXIS or View.Y_AXIS<DT><B>Returns:</B><DD>the resize weight<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - for an invalid axis</DL></DD></DL><HR><A NAME="getViewAtPosition(int, java.awt.Rectangle)"><!-- --></A><H3>getViewAtPosition</H3><PRE>protected <A HREF="../../../javax/swing/text/View.html">View</A> <B>getViewAtPosition</B>(int&nbsp;pos,                                 <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;a)</PRE><DL><DD>Fetches the child view that represents the given position in the model.  This is implemented to walk through the children looking for a range that contains the given position.  In this view the children do not necessarily have a one to one mapping  with the child elements.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/CompositeView.html#getViewAtPosition(int, java.awt.Rectangle)">getViewAtPosition</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/CompositeView.html">CompositeView</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pos</CODE> - the search position >= 0<DD><CODE>a</CODE> - the allocation to the table on entry, and the   allocation of the view containing the position on exit</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>&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/TableView.TableRow.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/TableView.TableCell.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/swing/text/TabSet.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="TableView.TableRow.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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 + -