クラスBasicRootPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.RootPaneUI
javax.swing.plaf.basic.BasicRootPaneUI
- すべての実装されたインタフェース:
- PropertyChangeListener,- EventListener
- 直系の既知のサブクラス:
- MetalRootPaneUI,- SynthRootPaneUI
public class BasicRootPaneUI extends RootPaneUI implements PropertyChangeListener
RootPaneUIの基本実装で、すべてのJRootPaneインスタンスで共有されるものが1つあります。
- 導入されたバージョン:
- 1.3
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリー修飾子と型メソッド説明static ComponentUIBasicRootPaneUIの新しいインスタンスを返します。protected voidinstallComponents(JRootPane root) コンポーネントをインストールします。protected voidデフォルトのプロパティをインストールします。protected voidキーボード操作を登録します。protected voidinstallListeners(JRootPane root) リスナーを登録します。voidルート・ペインでプロパティが変更されたときに呼び出されます。protected voiduninstallComponents(JRootPane root) コンポーネントの登録を解除します。protected voiduninstallDefaults(JRootPane root) 既定のプロパティをアンインストールします。protected voidキーボード操作の登録を解除します。protected voiduninstallListeners(JRootPane root) リスナーを登録解除します。クラスjavax.swing.plaf.ComponentUIで宣言されたメソッドcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
- 
コンストラクタの詳細- 
BasicRootPaneUIpublic BasicRootPaneUI()BasicRootPaneUIを構築します。
 
- 
- 
メソッドの詳細- 
createUIpublic static ComponentUI createUI(JComponent c) BasicRootPaneUIの新しいインスタンスを返します。- パラメータ:
- c- コンポーネント
- 戻り値:
- BasicRootPaneUIの新しいインスタンス
 
- 
installDefaults
- 
installComponents
- 
installListeners
- 
installKeyboardActions
- 
uninstallDefaultsprotected void uninstallDefaults(JRootPane root) 既定のプロパティをアンインストールします。- パラメータ:
- root-- JRootPaneのインスタンス
 
- 
uninstallComponents
- 
uninstallListeners
- 
uninstallKeyboardActionsprotected void uninstallKeyboardActions(JRootPane root) キーボード操作の登録を解除します。- パラメータ:
- root-- JRootPaneのインスタンス
 
- 
propertyChangepublic void propertyChange(PropertyChangeEvent e) ルート・ペインでプロパティが変更されたときに呼び出されます。defaultButtonが変更されたことをイベントが示す場合は、これがキーボード・アクションを再インストールします。- 定義:
- propertyChange、インタフェース- PropertyChangeListener
- パラメータ:
- e- イベント・ソースと変更されたプロパティを記述したPropertyChangeEventオブジェクト。
 
 
-