クラス java.awt.Button
全パッケージ クラス階層 このパッケージ 前項目 次項目 インデックス
クラス java.awt.Button
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Button
- public class Button
- extends Component
ラベル付きボタンコンポーネントを作り出すクラス。
-
Button()
- ラベルなしのボタンを作成する。
-
Button(String)
- ラベル付きボタンを作成する。
-
addNotify()
- ボタンのピアを作成する。
-
getLabel()
- ボタンのラベルを得る。
-
paramString()
- このボタンのパラメ−タ文字列を返す。
-
setLabel(String)
- ボタンに指定されたラベルを設定する。
Button
public Button()
- ラベルなしのボタンを作成する。
Button
public Button(String label)
- ラベル付きボタンを作成する。
- パラメータ:
- label - ボタンラベル
addNotify
public synchronized void addNotify()
- ボタンのピアを作成する。このピアにより、ボタンの機能性を変更
しないでその外見を変更することが可能となる。
- オーバーライド:
- クラス Component の addNotify
getLabel
public String getLabel()
- ボタンのラベルを得る。
- 参照:
- setLabel
setLabel
public void setLabel(String label)
- ボタンに指定されたラベルを設定する。
- パラメータ:
- label - ボタンに設定するラベル
- 参照:
- getLabel
paramString
protected String paramString()
- このボタンのパラメ−タ文字列を返す。
- オーバーライド:
- クラス Component の paramString
全パッケージ クラス階層 このパッケージ 前項目 次項目 インデックス
本マニュアルに関する著作権および商標