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

📄 borderfactory.html

📁 我在学习JAVA的讲义
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    <DD>the <CODE>TitledBorder</CODE> object</DD></DL></DD></DL>
<HR>
<A name=createEmptyBorder()><!-- --></A>
<H3>createEmptyBorder</H3><PRE>public static <A title="interface in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> <B>createEmptyBorder</B>()</PRE>
<DL>
  <DD>Creates an empty border that takes up no space. (The width of the top, 
  bottom, left, and right sides are all zero.) 
  <P></P>
  <DD>
  <DL>
    <DT><B>Returns:</B>
    <DD>the <CODE>Border</CODE> object</DD></DL></DD></DL>
<HR>
<A name="createEmptyBorder(int, int, int, int)"><!-- --></A>
<H3>createEmptyBorder</H3><PRE>public static <A title="interface in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> <B>createEmptyBorder</B>(int&nbsp;top,
                                       int&nbsp;left,
                                       int&nbsp;bottom,
                                       int&nbsp;right)</PRE>
<DL>
  <DD>Creates an empty border that takes up space but which does no drawing, 
  specifying the width of the top, left, bottom, and right sides. 
  <P></P>
  <DD>
  <DL>
    <DT><B>Parameters:</B>
    <DD><CODE>top</CODE> - an integer specifying the width of the top, in pixels
    <DD><CODE>left</CODE> - an integer specifying the width of the left side, in 
    pixels
    <DD><CODE>bottom</CODE> - an integer specifying the width of the right side, 
    in pixels
    <DD><CODE>right</CODE> - an integer specifying the width of the bottom, in 
    pixels 
    <DT><B>Returns:</B>
    <DD>the <CODE>Border</CODE> object</DD></DL></DD></DL>
<HR>
<A name=createCompoundBorder()><!-- --></A>
<H3>createCompoundBorder</H3><PRE>public static <A title="class in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/CompoundBorder.html">CompoundBorder</A> <B>createCompoundBorder</B>()</PRE>
<DL>
  <DD>Creates a compound border with a <CODE>null</CODE> inside edge and a 
  <CODE>null</CODE> outside edge. 
  <P></P>
  <DD>
  <DL>
    <DT><B>Returns:</B>
    <DD>the <CODE>CompoundBorder</CODE> object</DD></DL></DD></DL>
<HR>
<A 
name="createCompoundBorder(javax.swing.border.Border, javax.swing.border.Border)"><!-- --></A>
<H3>createCompoundBorder</H3><PRE>public static <A title="class in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/CompoundBorder.html">CompoundBorder</A> <B>createCompoundBorder</B>(<A title="interface in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A>&nbsp;outsideBorder,
                                                  <A title="interface in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A>&nbsp;insideBorder)</PRE>
<DL>
  <DD>Creates a compound border specifying the border objects to use for the 
  outside and inside edges. 
  <P></P>
  <DD>
  <DL>
    <DT><B>Parameters:</B>
    <DD><CODE>outsideBorder</CODE> - a <CODE>Border</CODE> object for the outer 
    edge of the compound border
    <DD><CODE>insideBorder</CODE> - a <CODE>Border</CODE> object for the inner 
    edge of the compound border 
    <DT><B>Returns:</B>
    <DD>the <CODE>CompoundBorder</CODE> object</DD></DL></DD></DL>
<HR>
<A name="createMatteBorder(int, int, int, int, java.awt.Color)"><!-- --></A>
<H3>createMatteBorder</H3><PRE>public static <A title="class in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/MatteBorder.html">MatteBorder</A> <B>createMatteBorder</B>(int&nbsp;top,
                                            int&nbsp;left,
                                            int&nbsp;bottom,
                                            int&nbsp;right,
                                            <A title="class in java.awt" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A>&nbsp;color)</PRE>
<DL>
  <DD>Creates a matte-look border using a solid color. (The difference between 
  this border and a line border is that you can specify the individual border 
  dimensions.) 
  <P></P>
  <DD>
  <DL>
    <DT><B>Parameters:</B>
    <DD><CODE>top</CODE> - an integer specifying the width of the top, in pixels
    <DD><CODE>left</CODE> - an integer specifying the width of the left side, in 
    pixels
    <DD><CODE>bottom</CODE> - an integer specifying the width of the right side, 
    in pixels
    <DD><CODE>right</CODE> - an integer specifying the width of the bottom, in 
    pixels
    <DD><CODE>color</CODE> - a <CODE>Color</CODE> to use for the border 
    <DT><B>Returns:</B>
    <DD>the <CODE>MatteBorder</CODE> object</DD></DL></DD></DL>
<HR>
<A name="createMatteBorder(int, int, int, int, javax.swing.Icon)"><!-- --></A>
<H3>createMatteBorder</H3><PRE>public static <A title="class in javax.swing.border" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/MatteBorder.html">MatteBorder</A> <B>createMatteBorder</B>(int&nbsp;top,
                                            int&nbsp;left,
                                            int&nbsp;bottom,
                                            int&nbsp;right,
                                            <A title="interface in javax.swing" href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/Icon.html">Icon</A>&nbsp;tileIcon)</PRE>
<DL>
  <DD>Creates a matte-look border that consists of multiple tiles of a specified 
  icon. Multiple copies of the icon are placed side-by-side to fill up the 
  border area. 
  <P>Note:<BR>If the icon doesn't load, the border area is painted gray. 
  <P></P>
  <DD>
  <DL>
    <DT><B>Parameters:</B>
    <DD><CODE>top</CODE> - an integer specifying the width of the top, in pixels
    <DD><CODE>left</CODE> - an integer specifying the width of the left side, in 
    pixels
    <DD><CODE>bottom</CODE> - an integer specifying the width of the right side, 
    in pixels
    <DD><CODE>right</CODE> - an integer specifying the width of the bottom, in 
    pixels
    <DD><CODE>tileIcon</CODE> - the <CODE>Icon</CODE> object used for the border 
    tiles 
    <DT><B>Returns:</B>
    <DD>the <CODE>MatteBorder</CODE> object</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== --><A 
name=navbar_bottom><!-- --></A><A title="Skip navigation links" 
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#skip-navbar_bottom"></A>
<TABLE cellSpacing=0 cellPadding=1 width="100%" summary="" border=0>
  <TBODY>
  <TR>
    <TD class=NavBarCell1 bgColor=#eeeeff colSpan=3><A 
      name=navbar_bottom_firstrow><!-- --></A>
      <TABLE cellSpacing=3 cellPadding=0 summary="" border=0>
        <TBODY>
        <TR vAlign=top align=middle>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/overview-summary.html"><FONT 
            class=NavBarFont1><B>Overview</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/package-summary.html"><FONT 
            class=NavBarFont1><B>Package</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1Rev bgColor=#ffffff>&nbsp;<FONT 
            class=NavBarFont1Rev><B>Class</B></FONT>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/class-use/BorderFactory.html"><FONT 
            class=NavBarFont1><B>Use</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/package-tree.html"><FONT 
            class=NavBarFont1><B>Tree</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/deprecated-list.html"><FONT 
            class=NavBarFont1><B>Deprecated</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/index-files/index-1.html"><FONT 
            class=NavBarFont1><B>Index</B></FONT></A>&nbsp;</TD>
          <TD class=NavBarCell1 bgColor=#eeeeff><A 
            href="file:///D:/Tools/j2sdk-1_4_2-doc/api/help-doc.html"><FONT 
            class=NavBarFont1><B>Help</B></FONT></A>&nbsp;</TD></TR></TBODY></TABLE></TD>
    <TD vAlign=top align=right rowSpan=3><EM><B>Java<SUP><FONT 
      size=-2>TM</FONT></SUP>&nbsp;2&nbsp;Platform<BR>Std.&nbsp;Ed. 
      v1.4.2</B></EM> </TD></TR>
  <TR>
    <TD class=NavBarCell2 bgColor=white><FONT size=-2>&nbsp;<A 
      title="class in javax.swing" 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/ActionMap.html"><B>PREV 
      CLASS</B></A>&nbsp; &nbsp;<A title="class in javax.swing" 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/Box.html"><B>NEXT 
      CLASS</B></A></FONT></TD>
    <TD class=NavBarCell2 bgColor=white><FONT size=-2><A 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/index.html" 
      target=_top><B>FRAMES</B></A> &nbsp; &nbsp;<A 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html" 
      target=_top><B>NO FRAMES</B></A> &nbsp; &nbsp;
      <SCRIPT type=text/javascript>  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT>
       <NOSCRIPT><A 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/allclasses-noframe.html"><B>All 
      Classes</B></A> </NOSCRIPT></FONT></TD></TR>
  <TR>
    <TD class=NavBarCell3 vAlign=top><FONT 
      size=-2>SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#method_summary">METHOD</A></FONT></TD>
    <TD class=NavBarCell3 vAlign=top><FONT 
      size=-2>DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
      href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#method_detail">METHOD</A></FONT></TD></TR></TBODY></TABLE><A 
name=skip-navbar_bottom></A><!-- ======== END OF BOTTOM 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="file:///D:/Tools/j2sdk-1_4_2-doc/relnotes/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>Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to 
<A href="file:///D:/Tools/j2sdk-1_4_2-doc/relnotes/license.html">license 
terms</A>. Also see the <A 
href="http://java.sun.com/docs/redist.html">documentation redistribution 
policy</A>.</FONT> </P></CODE></CODE></CODE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -