📄 border.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/border/MatteBorder.html">MatteBorder</A></B></CODE><BR> A class which provides a matte-like border of either a solid color or a tiled icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/border/SoftBevelBorder.html">SoftBevelBorder</A></B></CODE><BR> A class which implements a raised or lowered bevel with softened corners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html">TitledBorder</A></B></CODE><BR> A class which implements an arbitrary border with the addition of a String title in a specified position and justification.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../../javax/swing/border/package-summary.html">javax.swing.border</A> declared as <A HREF="../../../../javax/swing/border/Border.html">Border</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>CompoundBorder.</B><B><A HREF="../../../../javax/swing/border/CompoundBorder.html#outsideBorder">outsideBorder</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>CompoundBorder.</B><B><A HREF="../../../../javax/swing/border/CompoundBorder.html#insideBorder">insideBorder</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>TitledBorder.</B><B><A HREF="../../../../javax/swing/border/TitledBorder.html#border">border</A></B></CODE><BR> </TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../javax/swing/border/package-summary.html">javax.swing.border</A> that return <A HREF="../../../../javax/swing/border/Border.html">Border</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>CompoundBorder.</B><B><A HREF="../../../../javax/swing/border/CompoundBorder.html#getOutsideBorder()">getOutsideBorder</A></B>()</CODE><BR> Returns the outside border object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>CompoundBorder.</B><B><A HREF="../../../../javax/swing/border/CompoundBorder.html#getInsideBorder()">getInsideBorder</A></B>()</CODE><BR> Returns the inside border object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>LineBorder.</B><B><A HREF="../../../../javax/swing/border/LineBorder.html#createBlackLineBorder()">createBlackLineBorder</A></B>()</CODE><BR> Convenience method for getting the Color.black LineBorder of thickness 1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>LineBorder.</B><B><A HREF="../../../../javax/swing/border/LineBorder.html#createGrayLineBorder()">createGrayLineBorder</A></B>()</CODE><BR> Convenience method for getting the Color.gray LineBorder of thickness 1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD><TD><CODE><B>TitledBorder.</B><B><A HREF="../../../../javax/swing/border/TitledBorder.html#getBorder()">getBorder</A></B>()</CODE><BR> Returns the border of the titled border.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../javax/swing/border/package-summary.html">javax.swing.border</A> with parameters of type <A HREF="../../../../javax/swing/border/Border.html">Border</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B>AbstractBorder.</B><B><A HREF="../../../../javax/swing/border/AbstractBorder.html#getInteriorRectangle(java.awt.Component, javax.swing.border.Border, int, int, int, int)">getInteriorRectangle</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> c, <A HREF="../../../../javax/swing/border/Border.html">Border</A> b, int x, int y, int width, int height)</CODE><BR> Returns a rectangle using the arguments minus the insets of the border.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>TitledBorder.</B><B><A HREF="../../../../javax/swing/border/TitledBorder.html#setBorder(javax.swing.border.Border)">setBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border)</CODE><BR> Sets the border of the titled border.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../javax/swing/border/package-summary.html">javax.swing.border</A> with parameters of type <A HREF="../../../../javax/swing/border/Border.html">Border</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/CompoundBorder.html#CompoundBorder(javax.swing.border.Border, javax.swing.border.Border)">CompoundBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> outsideBorder, <A HREF="../../../../javax/swing/border/Border.html">Border</A> insideBorder)</CODE><BR> Creates a compound border with the specified outside and inside borders.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html#TitledBorder(javax.swing.border.Border)">TitledBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border)</CODE><BR> Creates a TitledBorder instance with the specified border and an empty title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html#TitledBorder(javax.swing.border.Border, java.lang.String)">TitledBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../../java/lang/String.html">String</A> title)</CODE><BR> Creates a TitledBorder instance with the specified border and title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html#TitledBorder(javax.swing.border.Border, java.lang.String, int, int)">TitledBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../../java/lang/String.html">String</A> title, int titleJustification, int titlePosition)</CODE><BR> Creates a TitledBorder instance with the specified border, title, title-justification, and title-position.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html#TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font)">TitledBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../../java/lang/String.html">String</A> title, int titleJustification, int titlePosition, <A HREF="../../../../java/awt/Font.html">Font</A> titleFont)</CODE><BR> Creates a TitledBorder instance with the specified border, title, title-justification, title-position, and title-font.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../javax/swing/border/TitledBorder.html#TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color)">TitledBorder</A></B>(<A HREF="../../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../../java/lang/String.html">String</A> title, int titleJustification, int titlePosition, <A HREF="../../../../java/awt/Font.html">Font</A> titleFont, <A HREF="../../../../java/awt/Color.html">Color</A> titleColor)</CODE><BR> Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.</TD></TR></TABLE> <P><A NAME="javax.swing.plaf"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../javax/swing/border/Border.html">Border</A> in <A HREF="../../../../javax/swing/plaf/package-summary.html">javax.swing.plaf</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../../javax/swing/plaf/package-summary.html">javax.swing.plaf</A> that implement <A HREF="../../../../javax/swing/border/Border.html">Border</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/BorderUIResource.html">BorderUIResource</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/BorderUIResource.BevelBorderUIResource.html">BorderUIResource.BevelBorderUIResource</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/BorderUIResource.CompoundBorderUIResource.html">BorderUIResource.CompoundBorderUIResource</A></B></CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -