insets.html

来自「API資料大全」· HTML 代码 · 共 1,156 行 · 第 1/5 页

HTML
1,156
字号
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>BasicDesktopIconUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicDesktopIconUI.html#getInsets(javax.swing.JComponent)">getInsets</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A> with parameters of type <A HREF="../../../java/awt/Insets.html">Insets</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>BasicProgressBarUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicProgressBarUI.html#getAmountFull(java.awt.Insets, int, int)">getAmountFull</A></B>(<A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;b,              int&nbsp;width,              int&nbsp;height)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This determines the amount of the progress bar that should be filled based on the percent done gathered from the model.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicProgressBarUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicProgressBarUI.html#paintString(java.awt.Graphics, int, int, int, int, int, java.awt.Insets)">paintString</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,            int&nbsp;x,            int&nbsp;y,            int&nbsp;width,            int&nbsp;height,            int&nbsp;amountFull,            <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicTabbedPaneUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicTabbedPaneUI.html#rotateInsets(java.awt.Insets, java.awt.Insets, int)">rotateInsets</A></B>(<A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;topInsets,             <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;targetInsets,             int&nbsp;targetPlacement)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>BasicSplitPaneUI.BasicHorizontalLayoutManager.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getAvailableSize(java.awt.Dimension, java.awt.Insets)">getAvailableSize</A></B>(<A HREF="../../../java/awt/Dimension.html">Dimension</A>&nbsp;containerSize,                 <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the available width based on the container size and Insets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>BasicSplitPaneUI.BasicHorizontalLayoutManager.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getInitialLocation(java.awt.Insets)">getInitialLocation</A></B>(<A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the left inset, unless the Insets are null in which case 0 is returned.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicSplitPaneUI.BasicHorizontalLayoutManager.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#setComponentToSize(java.awt.Component, int, int, java.awt.Insets, java.awt.Dimension)">setComponentToSize</A></B>(<A HREF="../../../java/awt/Component.html">Component</A>&nbsp;c,                   int&nbsp;size,                   int&nbsp;location,                   <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets,                   <A HREF="../../../java/awt/Dimension.html">Dimension</A>&nbsp;containerSize)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicTreeUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicTreeUI.html#paintHorizontalPartOfLeg(java.awt.Graphics, java.awt.Rectangle, java.awt.Insets, java.awt.Rectangle, javax.swing.tree.TreePath, int, boolean, boolean, boolean)">paintHorizontalPartOfLeg</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                         <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;clipBounds,                         <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets,                         <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;bounds,                         <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,                         int&nbsp;row,                         boolean&nbsp;isExpanded,                         boolean&nbsp;hasBeenExpanded,                         boolean&nbsp;isLeaf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the horizontal part of the leg.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicTreeUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicTreeUI.html#paintVerticalPartOfLeg(java.awt.Graphics, java.awt.Rectangle, java.awt.Insets, javax.swing.tree.TreePath)">paintVerticalPartOfLeg</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                       <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;clipBounds,                       <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets,                       <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the vertical part of the leg.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicTreeUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicTreeUI.html#paintExpandControl(java.awt.Graphics, java.awt.Rectangle, java.awt.Insets, java.awt.Rectangle, javax.swing.tree.TreePath, int, boolean, boolean, boolean)">paintExpandControl</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                   <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;clipBounds,                   <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets,                   <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;bounds,                   <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,                   int&nbsp;row,                   boolean&nbsp;isExpanded,                   boolean&nbsp;hasBeenExpanded,                   boolean&nbsp;isLeaf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the expand (toggle) part of a row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BasicTreeUI.</B><B><A HREF="../../../javax/swing/plaf/basic/BasicTreeUI.html#paintRow(java.awt.Graphics, java.awt.Rectangle, java.awt.Insets, java.awt.Rectangle, javax.swing.tree.TreePath, int, boolean, boolean, boolean)">paintRow</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,         <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;clipBounds,         <A HREF="../../../java/awt/Insets.html">Insets</A>&nbsp;insets,         <A HREF="../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;bounds,         <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,         int&nbsp;row,         boolean&nbsp;isExpanded,         boolean&nbsp;hasBeenExpanded,         boolean&nbsp;isLeaf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the renderer part of a row.</TD></TR></TABLE>&nbsp;<P><A NAME="javax.swing.plaf.metal"><!-- --></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="../../../java/awt/Insets.html">Insets</A> in <A HREF="../../../javax/swing/plaf/metal/package-summary.html">javax.swing.plaf.metal</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../javax/swing/plaf/metal/package-summary.html">javax.swing.plaf.metal</A> declared as <A HREF="../../../java/awt/Insets.html">Insets</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalComboBoxEditor.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalComboBoxEditor.html#editorBorderInsets">editorBorderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.ButtonBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.ButtonBorder.html#borderInsets">borderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.MenuBarBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.MenuBarBorder.html#borderInsets">borderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.MenuItemBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.MenuItemBorder.html#borderInsets">borderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.PopupMenuBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.PopupMenuBorder.html#borderInsets">borderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.TableHeaderBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.TableHeaderBorder.html#editorBorderInsets">editorBorderInsets</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/swing/plaf/metal/package-summary.html">javax.swing.plaf.metal</A> that return <A HREF="../../../java/awt/Insets.html">Insets</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.Flush3DBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.Flush3DBorder.html#getBorderInsets(java.awt.Component)">getBorderInsets</A></B>(<A HREF="../../../java/awt/Component.html">Component</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Insets.html">Insets</A></CODE></FONT></TD><TD><CODE><B>MetalBorders.ButtonBorder.</B><B><A HREF="../../../javax/swing/plaf/metal/MetalBorders.ButtonBorder.html#getBorderInsets(java.awt.Component)">getBorderInsets</A></B>(<A HREF="../../../java/awt/Component.html">Componen

⌨️ 快捷键说明

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