java.lang.Object
java.awt.Insets
- すべての実装されたインタフェース:
Serializable
,Cloneable
- 直系の既知のサブクラス:
InsetsUIResource
public class Insets extends Object implements Cloneable, Serializable
Insets
オブジェクトは、コンテナのボーダーの表現です。 これは、コンテナが各エッジに残さなければならない空間を指定します。 空間は、境界、空白空間、またはタイトルです。 - 導入されたバージョン:
- 1.0
- 関連項目:
-
フィールドのサマリー
フィールド -
コンストラクタのサマリー
コンストラクタコンストラクタ説明Insets
(int top, int left, int bottom, int right) 新しいInsets
オブジェクトを、指定されたtop、left、bottom、およびrightイン・セットで作成して初期化します。 -
メソッドのサマリー
-
フィールド詳細
-
top
public int top上部からのイン・セットです。 この値が矩形のTopに追加され、Topの新しい位置となります。- 関連項目:
-
left
public int left左側からのイン・セットです。 この値が矩形のLeftに追加され、Leftの新しい位置となります。- 関連項目:
-
bottom
public int bottom下部からのイン・セットです。 この値が矩形のBottomから減算され、Bottomの新しい位置となります。- 関連項目:
-
right
public int right右側からのイン・セットです。 この値が矩形のRightから減算され、Rightの新しい位置となります。- 関連項目:
-
-
コンストラクタの詳細
-
Insets
public Insets(int top, int left, int bottom, int right) 新しいInsets
オブジェクトを、指定されたtop、left、bottom、およびrightイン・セットで作成して初期化します。- パラメータ:
top
- 上部からのイン・セット。left
- 左側からのイン・セット。bottom
- 下部からのイン・セット。right
- 右側からのイン・セット。
-
-
メソッドの詳細
-
set
public void set(int top, int left, int bottom, int right) top、left、bottom、およびrightに指定した値を設定します。- パラメータ:
top
- 上部からのイン・セット。left
- 左側からのイン・セット。bottom
- 下部からのイン・セット。right
- 右側からのイン・セット。- 導入されたバージョン:
- 1.5
-
equals
-
hashCode
-
toString
-
clone
-