| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.awt.Insets
public class Insets
Insets オブジェクトはコンテナの境界を表現したものです。これは、コンテナが各エッジに残さなければならない空間を指定します。空間は、境界、空白空間、またはタイトルです。
LayoutManager, 
Container, 
直列化された形式| フィールドの概要 | |
|---|---|
|  int | bottom下部からのインセットです。 | 
|  int | left左側からのインセットです。 | 
|  int | right右側からのインセットです。 | 
|  int | top上部からのインセットです。 | 
| コンストラクタの概要 | |
|---|---|
| Insets(int top,
       int left,
       int bottom,
       int right)新しい Insetsオブジェクトを、指定された top、left、bottom、right インセットで作成して初期化します。 | |
| メソッドの概要 | |
|---|---|
|  Object | clone()このオブジェクトのコピーを作成します。 | 
|  boolean | equals(Object obj)2 つのインセットオブジェクトが等しいかどうかを判定します。 | 
|  int | hashCode()この Insets のハッシュコードを返します。 | 
|  void | set(int top,
    int left,
    int bottom,
    int right)top、left、bottom、および right に指定した値を設定します。 | 
|  String | toString()この Insetsオブジェクトの文字列表現を返します。 | 
| クラス java.lang.Object から継承されたメソッド | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| フィールドの詳細 | 
|---|
public int top
clone()public int left
clone()public int bottom
clone()public int right
clone()| コンストラクタの詳細 | 
|---|
public Insets(int top,
              int left,
              int bottom,
              int right)
Insets オブジェクトを、指定された top、left、bottom、right インセットで作成して初期化します。
top - 上部からのインセットleft - 左側からのインセットbottom - 下部からのインセットright - 右側からのインセット| メソッドの詳細 | 
|---|
public void set(int top,
                int left,
                int bottom,
                int right)
top - 上部からのインセットleft - 左側からのインセットbottom - 下部からのインセットright - 右側からのインセットpublic boolean equals(Object obj)
Insets の 2 つのインスタンスは、top、left、bottom、および right フィールドの 4 つの整数値がすべて等しい場合に等しくなります。
Object 内の equalsobj - 比較対象の参照オブジェクト
true、それ以外の場合は falseObject.hashCode(), 
Hashtablepublic int hashCode()
Object 内の hashCodeObject.equals(java.lang.Object), 
Hashtablepublic String toString()
Insets オブジェクトの文字列表現を返します。このメソッドはデバッグ専用であり、返される文字列の内容および形式は実装によって異なります。返される文字列は空の場合がありますが、null にはなりません。
Object 内の toStringInsets オブジェクトの文字列表現public Object clone()
Object 内の cloneInsets オブジェクトのコピーCloneable| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。