JavaTM 2 Platform
Std. Ed. v1.3

クラス
javax.swing.JButton の使用

JButton を使用しているパッケージ
javax.swing すべてのプラットフォームで可能な限り同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.plaf.basic 基本 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal このパッケージは、Metal の Look & Feel に従って構築されるユーザインタフェースオブジェクトを提供します。  
 

javax.swing での JButton の使用
 

JButton として宣言されている javax.swing のフィールド
protected  JButton JRootPane.defaultButton
          区画がフォーカスと、Enter キーを押すなどの UI 固有のアクションを持ったときにアクティブになるボタンです。
 

JButton を返す javax.swing のメソッド
 JButton JToolBar.add(Action a)
          アクションをディスパッチする新しい JButton を追加します。
protected  JButton JToolBar.createActionComponent(Action a)
          JToolBar に追加された ActionJButton を作成するファクトリメソッドです。
 JButton JRootPane.getDefaultButton()
          この JRootPane の現在のデフォルトボタンを返します。
 

JButton 型のパラメータを持つ javax.swing のメソッド
protected  PropertyChangeListener JToolBar.createActionChangeListener(JButton b)
          Action への変更が発生する場合にコントロールを更新するための、適切に設定された PropertyChangeListener を返します。
 void JRootPane.setDefaultButton(JButton defaultButton)
          この JRootPane の現在のデフォルトボタンを設定します。
 

JButton 型のパラメータを持つ javax.swing のコンストラクタ
JButton.AccessibleJButton()
           
 

javax.swing.plaf.basic での JButton の使用
 

javax.swing.plaf.basic での JButton のサブクラス
 class BasicArrowButton
          基本方向のいずれかにスケーリングされる矢印を描画する JButton オブジェクトです。
 

JButton として宣言されている javax.swing.plaf.basic のフィールド
protected  JButton BasicInternalFrameTitlePane.iconButton
           
protected  JButton BasicInternalFrameTitlePane.maxButton
           
protected  JButton BasicInternalFrameTitlePane.closeButton
           
protected  JButton BasicScrollBarUI.incrButton
           
protected  JButton BasicScrollBarUI.decrButton
           
protected  JButton BasicComboBoxUI.arrowButton
           
protected  JButton BasicSplitPaneDivider.leftButton
          左側のコンポーネントをすばやく切り替えるためのボタンです。
protected  JButton BasicSplitPaneDivider.rightButton
          右側のコンポーネントをすばやく切り替えるためのボタンです。
 

JButton を返す javax.swing.plaf.basic のメソッド
protected  JButton BasicScrollBarUI.createDecreaseButton(int orientation)
           
protected  JButton BasicScrollBarUI.createIncreaseButton(int orientation)
           
protected  JButton BasicFileChooserUI.getApproveButton(JFileChooser fc)
           
protected  JButton BasicComboBoxUI.createArrowButton()
          矢印ボタンを作成します。
protected  JButton BasicSplitPaneDivider.createLeftOneTouchButton()
          スプリットペインの左側のコンポーネントを収納するために使用される JButton のインスタンスを生成し、それを返します。
protected  JButton BasicSplitPaneDivider.createRightOneTouchButton()
          スプリットペインの右側のコンポーネントを収納するために使用される JButton のインスタンスを生成し、それを返します。
 

javax.swing.plaf.metal での JButton の使用
 

javax.swing.plaf.metal での JButton のサブクラス
 class MetalComboBoxButton
          MetalComboBoxUI を補助する JButton サブクラスです。
 class MetalScrollButton
          Metal でスクロールバーの矢印に使用する JButton オブジェクトです。
 

JButton を返す javax.swing.plaf.metal のメソッド
protected  JButton MetalFileChooserUI.getApproveButton(JFileChooser fc)
           
protected  JButton MetalComboBoxUI.createArrowButton()
           
protected  JButton MetalScrollBarUI.createDecreaseButton(int orientation)
          減少ビューを表すビューを返します。
protected  JButton MetalScrollBarUI.createIncreaseButton(int orientation)
          増加ビューを表すビューを返します。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.