| パッケージ | 説明 | 
|---|---|
| java.awt | ユーザーインタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 | 
| java.awt.dnd | ドラッグ&ドロップ操作は、多くのグラフィカルユーザーインタフェースシステムで見られる直接的な操作ジェスチャーで、GUI の表現要素に論理的に関連付けられた 2 つのエンティティー間で情報を変換するメカニズムを提供します。 | 
| javax.swing | すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 | 
| javax.swing.border | Swing コンポーネントの周囲に各種ボーダーを描画するためのクラスおよびインタフェースを提供します。 | 
| javax.swing.plaf | 1 つのインタフェースおよび多くの abstract クラスを提供しており、Swing はプラグイン可能な Look & Feel 機能を提供するためにこれらを利用します。 | 
| javax.swing.plaf.basic | 基本 Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 | 
| javax.swing.plaf.metal | デフォルトの Look & Feel である Java Look & Feel (以前のコード名は Metal) に従って構築されたユーザーインタフェースオブジェクトを提供します。 | 
| javax.swing.plaf.nimbus | クロスプラットフォームの Nimbus Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 | 
| javax.swing.plaf.synth | 
Synth は、すべてのペイントが委譲されるスキン設定可能な Look & Feel です。 | 
| javax.swing.text | 編集可能なテキストコンポーネントと編集不能なテキストコンポーネントを処理するクラスとインタフェースを提供します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| Insets | GridBagConstraints. insetsコンポーネントの外側のパディング、つまりコンポーネントとその表示領域の端までの領域の最小値を指定します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | Container. getInsets()コンテナの境界のサイズを示す、このコンテナのインセットを判定します。 | 
| Insets | Toolkit. getScreenInsets(GraphicsConfiguration gc)スクリーンのインセットを返します。 | 
| Insets | Container. insets()非推奨。 
 JDK Version 1.1 以降は、 getInsets()に置き換えられています。 | 
| コンストラクタと説明 | 
|---|
| GridBagConstraints(int gridx,                   int gridy,                   int gridwidth,                   int gridheight,                   double weightx,                   double weighty,                   int anchor,                   int fill,                   Insets insets,                   int ipadx,                   int ipady)すべてのフィールドを渡された引数に設定して、 GridBagConstraintsオブジェクトを作成します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | Autoscroll. getAutoscrollInsets()このメソッドは、実装している Component の幾何学的図形を基準に、自動スクロール領域またはボーダーを記述した  Insetsを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | JViewport. getInsets()JViewportではボーダーがサポートされていないため、インセット (ボーダー) の寸法を (0,0,0,0) として返します。 | 
| Insets | JComponent. getInsets()このコンポーネントでボーダーが設定されている場合はボーダーのインセットを返し、それ以外の場合は  super.getInsetsを呼び出します。 | 
| Insets | JViewport. getInsets(Insets insets)この  JViewportのインセット値を含むInsetsオブジェクトを返します。 | 
| Insets | JComponent. getInsets(Insets insets)このコンポーネントのインセット値を含む  Insetsオブジェクトを返します。 | 
| static Insets | UIManager. getInsets(Object key)デフォルトから  Insetsオブジェクトを返します。 | 
| Insets | UIDefaults. getInsets(Object key)keyの値がInsetsである場合はそれを返し、それ以外の場合はnullを返します。 | 
| static Insets | UIManager. getInsets(Object key,          Locale l)デフォルトから、指定されたロケールに適した  Insetsオブジェクトを返します。 | 
| Insets | UIDefaults. getInsets(Object key,          Locale l)指定された  Localeのkeyの値がInsetsである場合はそれを返し、それ以外の場合はnullを返します。 | 
| Insets | AbstractButton. getMargin()ボタンのボーダーとラベルの間のマージンを返します。 | 
| Insets | JMenuBar. getMargin()メニューバーのボーダーとそのメニューの間のマージンを返します。 | 
| Insets | JPopupMenu. getMargin()ポップアップメニューのボーダーと内容の間にあるマージンを返します (ピクセル単位)。 | 
| Insets | JToolBar. getMargin()ツールバーのボーダーとそのボタンの間のマージンを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | JViewport. getInsets(Insets insets)この  JViewportのインセット値を含むInsetsオブジェクトを返します。 | 
| Insets | JComponent. getInsets(Insets insets)このコンポーネントのインセット値を含む  Insetsオブジェクトを返します。 | 
| void | AbstractButton. setMargin(Insets m)ボタンのボーダーとラベルの間のマージンを設定します。 | 
| void | JMenuBar. setMargin(Insets m)メニューバーのボーダーとそのメニューの間のマージンを設定します。 | 
| void | JToolBar. setMargin(Insets m)ツールバーのボーダーとそのボタンの間のマージンを設定します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | EmptyBorder. getBorderInsets()ボーダーのインセットを返します。 | 
| Insets | MatteBorder. getBorderInsets()ボーダーのインセットを返します。 | 
| Insets | Border. getBorderInsets(Component c)ボーダーのインセットを返します。 | 
| Insets | AbstractBorder. getBorderInsets(Component c)このデフォルトの実装は、 AbstractBorder.getBorderInsets(Component,Insets)メソッドによって初期化される新しいInsetsオブジェクトを返します。 | 
| Insets | CompoundBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | StrokeBorder. getBorderInsets(Component c,                Insets insets)insetsパラメータを、このボーダーの現在のインセットで初期化し直します。 | 
| Insets | EmptyBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | LineBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | BevelBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | AbstractBorder. getBorderInsets(Component c,                Insets insets)インセットパラメータを、この Border の現在のインセットで初期化し直します。 | 
| Insets | MatteBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | EtchedBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | SoftBevelBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | TitledBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | CompoundBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | StrokeBorder. getBorderInsets(Component c,                Insets insets)insetsパラメータを、このボーダーの現在のインセットで初期化し直します。 | 
| Insets | EmptyBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | LineBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | BevelBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | AbstractBorder. getBorderInsets(Component c,                Insets insets)インセットパラメータを、この Border の現在のインセットで初期化し直します。 | 
| Insets | MatteBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | EtchedBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | SoftBevelBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| Insets | TitledBorder. getBorderInsets(Component c,                Insets insets)insets パラメータを、この Border の現在の Insets で初期化し直します。 | 
| コンストラクタと説明 | 
|---|
| EmptyBorder(Insets borderInsets)指定されたインセットの値を持つ、空のボーダーを作成します。 | 
| MatteBorder(Insets borderInsets,            Color matteColor)飾り縁ボーダーを、指定されたインセットおよびカラーで作成します。 | 
| MatteBorder(Insets borderInsets,            Icon tileIcon)飾り縁ボーダーを、指定されたインセットおよびタイルアイコンで作成します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | InsetsUIResource | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | BorderUIResource. getBorderInsets(Component c) | 
| コンストラクタと説明 | 
|---|
| BorderUIResource.EmptyBorderUIResource(Insets insets) | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Insets | BasicTabbedPaneUI. contentBorderInsets | 
| protected Insets | BasicSliderUI. focusInsets | 
| protected Insets | BasicSliderUI. insetCache | 
| protected Insets | BasicComboBoxUI. paddingこれらのインセットは、「選択された」項目をコンボボックスに配置し、ペイントする際に、セルレンダラ周囲のパディングとして機能します。 | 
| protected Insets | BasicTabbedPaneUI. selectedTabPadInsets | 
| protected Insets | BasicTabbedPaneUI. tabAreaInsets | 
| protected Insets | BasicTabbedPaneUI. tabInsets | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | BasicBorders.SplitPaneBorder. getBorderInsets(Component c) | 
| Insets | BasicBorders.ButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.ToggleButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.RadioButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.MenuBarBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.MarginBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.FieldBorder. getBorderInsets(Component c,                Insets insets) | 
| protected Insets | BasicTabbedPaneUI. getContentBorderInsets(int tabPlacement) | 
| static Insets | BasicGraphicsUtils. getEtchedInsets()drawEtchedRect()によって描画されるボーダーで占有される領域の量を返します。 | 
| static Insets | BasicGraphicsUtils. getGrooveInsets()drawGroove()によって描画されるボーダーで占有される領域の量を返します。 | 
| Insets | BasicToolBarUI.DragWindow. getInsets() | 
| Insets | BasicSplitPaneDivider. getInsets()このコンポーネントでボーダーが設定されている場合は、ボーダーのインセットを返します。そうでない場合は super.getInsets を呼び出します。 | 
| protected Insets | BasicComboBoxUI. getInsets()JComboBox からインセットを取得します。 | 
| Insets | BasicSplitPaneUI. getInsets(JComponent jc)インセットを返します。 | 
| Insets | BasicDesktopIconUI. getInsets(JComponent c) | 
| protected Insets | BasicTabbedPaneUI. getSelectedTabPadInsets(int tabPlacement) | 
| protected Insets | BasicTabbedPaneUI. getTabAreaInsets(int tabPlacement) | 
| protected Insets | BasicTabbedPaneUI. getTabInsets(int tabPlacement,             int tabIndex) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected int | BasicProgressBarUI. getAmountFull(Insets b,              int width,              int height)モデルから集めた完了パーセント情報に基づいて、塗りつぶすべき進捗バーの量を決定します。 | 
| protected int | BasicSplitPaneUI.BasicHorizontalLayoutManager. getAvailableSize(Dimension containerSize,                 Insets insets)コンテナのサイズとインセットに基づいて利用可能な幅を返します。 | 
| Insets | BasicBorders.ButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.ToggleButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.RadioButtonBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.MenuBarBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.MarginBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | BasicBorders.FieldBorder. getBorderInsets(Component c,                Insets insets) | 
| protected int | BasicSplitPaneUI.BasicHorizontalLayoutManager. getInitialLocation(Insets insets)Insets が null でない場合は左インセット、null の場合は 0 を返します。 | 
| protected void | BasicTreeUI. paintExpandControl(Graphics g,                   Rectangle clipBounds,                   Insets insets,                   Rectangle bounds,                   TreePath path,                   int row,                   boolean isExpanded,                   boolean hasBeenExpanded,                   boolean isLeaf)行の展開 (切り替え) 部分をペイントします。 | 
| protected void | BasicTreeUI. paintHorizontalPartOfLeg(Graphics g,                         Rectangle clipBounds,                         Insets insets,                         Rectangle bounds,                         TreePath path,                         int row,                         boolean isExpanded,                         boolean hasBeenExpanded,                         boolean isLeaf)脚の水平部分をペイントします。 | 
| protected void | BasicTreeUI. paintRow(Graphics g,         Rectangle clipBounds,         Insets insets,         Rectangle bounds,         TreePath path,         int row,         boolean isExpanded,         boolean hasBeenExpanded,         boolean isLeaf)行のレンダラ部分をペイントします。 | 
| protected void | BasicProgressBarUI. paintString(Graphics g,            int x,            int y,            int width,            int height,            int amountFull,            Insets b) | 
| protected void | BasicTreeUI. paintVerticalPartOfLeg(Graphics g,                       Rectangle clipBounds,                       Insets insets,                       TreePath path)脚の垂直部分をペイントします。 | 
| protected static void | BasicTabbedPaneUI. rotateInsets(Insets topInsets,             Insets targetInsets,             int targetPlacement) | 
| protected void | BasicSplitPaneUI.BasicHorizontalLayoutManager. setComponentToSize(Component c,                   int size,                   int location,                   Insets insets,                   Dimension containerSize)コンポーネント c の幅を size、x 位置を location、y を insets.top、高さを containersize.height (上および下インセットを引いたもの) に設定します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected static Insets | MetalBorders.ButtonBorder. borderInsets | 
| protected static Insets | MetalBorders.MenuBarBorder. borderInsets | 
| protected static Insets | MetalBorders.MenuItemBorder. borderInsets | 
| protected static Insets | MetalBorders.PopupMenuBorder. borderInsets | 
| protected static Insets | MetalComboBoxEditor. editorBorderInsetsデフォルトのエディタのボーダーの  Insetsです。 | 
| protected Insets | MetalBorders.TableHeaderBorder. editorBorderInsets | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | MetalBorders.Flush3DBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ButtonBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.InternalFrameBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.PaletteBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.OptionDialogBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.MenuBarBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.MenuItemBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.PopupMenuBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ToolBarBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ScrollPaneBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | MetalBorders.TableHeaderBorder. getBorderInsets(Component c,                Insets insets) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | MetalBorders.Flush3DBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ButtonBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.InternalFrameBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.PaletteBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.OptionDialogBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.MenuBarBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.MenuItemBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.PopupMenuBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ToolBarBorder. getBorderInsets(Component c,                Insets newInsets) | 
| Insets | MetalBorders.ScrollPaneBorder. getBorderInsets(Component c,                Insets insets) | 
| Insets | MetalBorders.TableHeaderBorder. getBorderInsets(Component c,                Insets insets) | 
| protected void | MetalTreeUI. paintHorizontalPartOfLeg(Graphics g,                         Rectangle clipBounds,                         Insets insets,                         Rectangle bounds,                         TreePath path,                         int row,                         boolean isExpanded,                         boolean hasBeenExpanded,                         boolean isLeaf) | 
| protected void | MetalTreeUI. paintVerticalPartOfLeg(Graphics g,                       Rectangle clipBounds,                       Insets insets,                       TreePath path) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | NimbusStyle. getInsets(SynthContext ctx,          Insets in) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | NimbusStyle. getInsets(SynthContext ctx,          Insets in) | 
| コンストラクタと説明 | 
|---|
| AbstractRegionPainter.PaintContext(Insets insets,                                   Dimension canvasSize,                                   boolean inverted)キャッシュされたイメージをキャッシュまたはスケーリングしようとしない、新しい PaintContext を作成します。 | 
| AbstractRegionPainter.PaintContext(Insets insets,                                   Dimension canvasSize,                                   boolean inverted,                                   AbstractRegionPainter.PaintContext.CacheMode cacheMode,                                   double maxH,                                   double maxV)新しい PaintContext を作成します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | SynthStyle. getInsets(SynthContext context,          Insets insets)サイズ変更情報の計算に使用される Insets を返します。 | 
| protected Insets | SynthTabbedPaneUI. getTabInsets(int tabPlacement,             int tabIndex) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | SynthStyle. getInsets(SynthContext context,          Insets insets)サイズ変更情報の計算に使用される Insets を返します。 | 
| protected void | SynthTreeUI. paintExpandControl(Graphics g,                   Rectangle clipBounds,                   Insets insets,                   Rectangle bounds,                   TreePath path,                   int row,                   boolean isExpanded,                   boolean hasBeenExpanded,                   boolean isLeaf) | 
| protected void | SynthTreeUI. paintHorizontalPartOfLeg(Graphics g,                         Rectangle clipBounds,                         Insets insets,                         Rectangle bounds,                         TreePath path,                         int row,                         boolean isExpanded,                         boolean hasBeenExpanded,                         boolean isLeaf) | 
| protected void | SynthTreeUI. paintVerticalPartOfLeg(Graphics g,                       Rectangle clipBounds,                       Insets insets,                       TreePath path) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Insets | JTextComponent. getMargin()テキストコンポーネントの境界とそのテキストの間のマージンを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | JTextComponent. setMargin(Insets m)テキストコンポーネントの境界とそのテキストの間のマージン空白を設定します。 | 
 バグまたは機能を送信 
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.