📄 swingconstants.html
字号:
<TD><CODE><B><A HREF="../../javax/swing/SwingConstants.html#WEST">WEST</A></B></CODE><BR> Compass-direction west (left).</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="CENTER"><!-- --></A><H3>CENTER</H3><PRE>public static final int <B>CENTER</B></PRE><DL><DD>The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.).</DL><HR><A NAME="TOP"><!-- --></A><H3>TOP</H3><PRE>public static final int <B>TOP</B></PRE><DL><DD>Box-orientation constant used to specify the top of a box.</DL><HR><A NAME="LEFT"><!-- --></A><H3>LEFT</H3><PRE>public static final int <B>LEFT</B></PRE><DL><DD>Box-orientation constant used to specify the left side of a box.</DL><HR><A NAME="BOTTOM"><!-- --></A><H3>BOTTOM</H3><PRE>public static final int <B>BOTTOM</B></PRE><DL><DD>Box-orientation constant used to specify the bottom of a box.</DL><HR><A NAME="RIGHT"><!-- --></A><H3>RIGHT</H3><PRE>public static final int <B>RIGHT</B></PRE><DL><DD>Box-orientation constant used to specify the right side of a box.</DL><HR><A NAME="NORTH"><!-- --></A><H3>NORTH</H3><PRE>public static final int <B>NORTH</B></PRE><DL><DD>Compass-direction North (up).</DL><HR><A NAME="NORTH_EAST"><!-- --></A><H3>NORTH_EAST</H3><PRE>public static final int <B>NORTH_EAST</B></PRE><DL><DD>Compass-direction north-east (upper right).</DL><HR><A NAME="EAST"><!-- --></A><H3>EAST</H3><PRE>public static final int <B>EAST</B></PRE><DL><DD>Compass-direction east (right).</DL><HR><A NAME="SOUTH_EAST"><!-- --></A><H3>SOUTH_EAST</H3><PRE>public static final int <B>SOUTH_EAST</B></PRE><DL><DD>Compass-direction south-east (lower right).</DL><HR><A NAME="SOUTH"><!-- --></A><H3>SOUTH</H3><PRE>public static final int <B>SOUTH</B></PRE><DL><DD>Compass-direction south (down).</DL><HR><A NAME="SOUTH_WEST"><!-- --></A><H3>SOUTH_WEST</H3><PRE>public static final int <B>SOUTH_WEST</B></PRE><DL><DD>Compass-direction south-west (lower left).</DL><HR><A NAME="WEST"><!-- --></A><H3>WEST</H3><PRE>public static final int <B>WEST</B></PRE><DL><DD>Compass-direction west (left).</DL><HR><A NAME="NORTH_WEST"><!-- --></A><H3>NORTH_WEST</H3><PRE>public static final int <B>NORTH_WEST</B></PRE><DL><DD>Compass-direction north west (upper left).</DL><HR><A NAME="HORIZONTAL"><!-- --></A><H3>HORIZONTAL</H3><PRE>public static final int <B>HORIZONTAL</B></PRE><DL><DD>Horizontal orientation. Used for scrollbars and sliders.</DL><HR><A NAME="VERTICAL"><!-- --></A><H3>VERTICAL</H3><PRE>public static final int <B>VERTICAL</B></PRE><DL><DD>Vertical orientation. Used for scrollbars and sliders.</DL><HR><A NAME="LEADING"><!-- --></A><H3>LEADING</H3><PRE>public static final int <B>LEADING</B></PRE><DL><DD>Identifies the leading edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.</DL><HR><A NAME="TRAILING"><!-- --></A><H3>TRAILING</H3><PRE>public static final int <B>TRAILING</B></PRE><DL><DD>Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- ========= 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/SwingConstants.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/SingleSelectionModel.html"><B>PREV CLASS</B></A> <A HREF="../../javax/swing/UIDefaults.ActiveValue.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="SwingConstants.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | METHOD</FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | METHOD</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 + -