JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.basic
クラス BasicInternalFrameUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.InternalFrameUI
              |
              +--javax.swing.plaf.basic.BasicInternalFrameUI
直系の既知のサブクラス:
MetalInternalFrameUI

public class BasicInternalFrameUI
extends InternalFrameUI

JInternalFrame の基本 Look & Feel による実装です。


内部クラスの概要
protected  class BasicInternalFrameUI.BasicInternalFrameListener
           
protected  class BasicInternalFrameUI.BorderListener
          ボーダの調整を待機します。
protected  class BasicInternalFrameUI.ComponentHandler
           
protected  class BasicInternalFrameUI.GlassPaneDispatcher
           
 class BasicInternalFrameUI.InternalFrameLayout
           
 class BasicInternalFrameUI.InternalFramePropertyChangeListener
           
 
フィールドの概要
protected  MouseInputAdapter borderListener
           
protected  ComponentListener componentListener
           
protected  JComponent eastPane
           
protected  JInternalFrame frame
           
protected  MouseInputListener glassPaneDispatcher
           
protected  LayoutManager internalFrameLayout
           
protected  JComponent northPane
           
protected  KeyStroke openMenuKey
          推奨されていません。 Java 2 プラットフォーム v1.3
protected  PropertyChangeListener propertyChangeListener
           
protected  JComponent southPane
           
protected  BasicInternalFrameTitlePane titlePane
           
protected  JComponent westPane
           
 
コンストラクタの概要
BasicInternalFrameUI(JInternalFrame b)
           
 
メソッドの概要
protected  void activateFrame(JInternalFrame f)
          フレームが選択されたときに呼び出されます。
protected  void closeFrame(JInternalFrame f)
          ユーザがフレームを閉じるときに呼び出されます。
protected  MouseInputAdapter createBorderListener(JInternalFrame w)
           
protected  ComponentListener createComponentListener()
           
protected  DesktopManager createDesktopManager()
           
protected  JComponent createEastPane(JInternalFrame w)
           
protected  MouseInputListener createGlassPaneDispatcher()
           
protected  void createInternalFrameListener()
           
protected  LayoutManager createLayoutManager()
           
protected  JComponent createNorthPane(JInternalFrame w)
           
protected  PropertyChangeListener createPropertyChangeListener()
           
protected  JComponent createSouthPane(JInternalFrame w)
           
static ComponentUI createUI(JComponent b)
           
protected  JComponent createWestPane(JInternalFrame w)
           
protected  void deactivateFrame(JInternalFrame f)
          フレームがもはや選択されなくなったときに呼び出されます。
protected  void deiconifyFrame(JInternalFrame f)
          ユーザがフレームのアイコン化を元に戻すときに呼び出されます。
protected  void deinstallMouseHandlers(JComponent c)
           
protected  DesktopManager getDesktopManager()
          適切な DesktopManager を返します。
 JComponent getEastPane()
           
 Dimension getMaximumSize(JComponent x)
           
 Dimension getMinimumSize(JComponent x)
           
 JComponent getNorthPane()
           
 Dimension getPreferredSize(JComponent x)
           
 JComponent getSouthPane()
           
 JComponent getWestPane()
           
protected  void iconifyFrame(JInternalFrame f)
          ユーザがフレームをアイコン化するときに呼び出されます。
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
protected  void installMouseHandlers(JComponent c)
           
 void installUI(JComponent c)
           
 boolean isKeyBindingActive()
           
protected  boolean isKeyBindingRegistered()
           
protected  void maximizeFrame(JInternalFrame f)
          ユーザがフレームを最大化するときに呼び出されます。
protected  void minimizeFrame(JInternalFrame f)
          ユーザがフレームを最小化するときに呼び出されます。
protected  void replacePane(JComponent currentPane, JComponent newPane)
          必要な mouseHandler を currentPane に追加して、それをフレームに追加します。
 void setEastPane(JComponent c)
           
protected  void setKeyBindingActive(boolean b)
           
protected  void setKeyBindingRegistered(boolean b)
           
 void setNorthPane(JComponent c)
           
 void setSouthPane(JComponent c)
           
protected  void setupMenuCloseKey()
           
protected  void setupMenuOpenKey()
           
 void setWestPane(JComponent c)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

frame

protected JInternalFrame frame

borderListener

protected MouseInputAdapter borderListener

propertyChangeListener

protected PropertyChangeListener propertyChangeListener

internalFrameLayout

protected LayoutManager internalFrameLayout

componentListener

protected ComponentListener componentListener

glassPaneDispatcher

protected MouseInputListener glassPaneDispatcher

northPane

protected JComponent northPane

southPane

protected JComponent southPane

westPane

protected JComponent westPane

eastPane

protected JComponent eastPane

titlePane

protected BasicInternalFrameTitlePane titlePane

openMenuKey

protected KeyStroke openMenuKey
推奨されていません。 Java 2 プラットフォーム v1.3

ドキュメントから削除済のこのフィールドは、Java 2 プラットフォーム v1.3 では使用しません。キーバインディングは LookAndFeel によって定義されます。詳細はキーバインディングの仕様を参照してください。
コンストラクタの詳細

BasicInternalFrameUI

public BasicInternalFrameUI(JInternalFrame b)
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent b)

installUI

public void installUI(JComponent c)
オーバーライド:
クラス ComponentUI 内の installUI

uninstallUI

public void uninstallUI(JComponent c)
オーバーライド:
クラス ComponentUI 内の uninstallUI

installDefaults

protected void installDefaults()

installKeyboardActions

protected void installKeyboardActions()

installComponents

protected void installComponents()

installListeners

protected void installListeners()

uninstallDefaults

protected void uninstallDefaults()

uninstallComponents

protected void uninstallComponents()

uninstallListeners

protected void uninstallListeners()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

createLayoutManager

protected LayoutManager createLayoutManager()

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()

getPreferredSize

public Dimension getPreferredSize(JComponent x)
オーバーライド:
クラス ComponentUI 内の getPreferredSize

getMinimumSize

public Dimension getMinimumSize(JComponent x)
オーバーライド:
クラス ComponentUI 内の getMinimumSize

getMaximumSize

public Dimension getMaximumSize(JComponent x)
オーバーライド:
クラス ComponentUI 内の getMaximumSize

replacePane

protected void replacePane(JComponent currentPane,
                           JComponent newPane)
必要な mouseHandler を currentPane に追加して、それをフレームに追加します。newPane の逆の処理です。

deinstallMouseHandlers

protected void deinstallMouseHandlers(JComponent c)

installMouseHandlers

protected void installMouseHandlers(JComponent c)

createNorthPane

protected JComponent createNorthPane(JInternalFrame w)

createSouthPane

protected JComponent createSouthPane(JInternalFrame w)

createWestPane

protected JComponent createWestPane(JInternalFrame w)

createEastPane

protected JComponent createEastPane(JInternalFrame w)

createBorderListener

protected MouseInputAdapter createBorderListener(JInternalFrame w)

createInternalFrameListener

protected void createInternalFrameListener()

isKeyBindingRegistered

protected final boolean isKeyBindingRegistered()

setKeyBindingRegistered

protected final void setKeyBindingRegistered(boolean b)

isKeyBindingActive

public final boolean isKeyBindingActive()

setKeyBindingActive

protected final void setKeyBindingActive(boolean b)

setupMenuOpenKey

protected void setupMenuOpenKey()

setupMenuCloseKey

protected void setupMenuCloseKey()

getNorthPane

public JComponent getNorthPane()

setNorthPane

public void setNorthPane(JComponent c)

getSouthPane

public JComponent getSouthPane()

setSouthPane

public void setSouthPane(JComponent c)

getWestPane

public JComponent getWestPane()

setWestPane

public void setWestPane(JComponent c)

getEastPane

public JComponent getEastPane()

setEastPane

public void setEastPane(JComponent c)

getDesktopManager

protected DesktopManager getDesktopManager()
適切な DesktopManager を返します。getDesktopPane() を呼び出して JDesktop コンポーネントを検索し、同コンポーネントから DesktopManager を返します。これが失敗した場合は、任意の親で動作するデフォルトの DesktopManager を返します。

createDesktopManager

protected DesktopManager createDesktopManager()

closeFrame

protected void closeFrame(JInternalFrame f)
ユーザがフレームを閉じるときに呼び出されます。このアクションは DesktopManager に委譲されます。

maximizeFrame

protected void maximizeFrame(JInternalFrame f)
ユーザがフレームを最大化するときに呼び出されます。このアクションは DesktopManager に委譲されます。

minimizeFrame

protected void minimizeFrame(JInternalFrame f)
ユーザがフレームを最小化するときに呼び出されます。このアクションは DesktopManager に委譲されます。

iconifyFrame

protected void iconifyFrame(JInternalFrame f)
ユーザがフレームをアイコン化するときに呼び出されます。このアクションは DesktopManager に委譲されます。

deiconifyFrame

protected void deiconifyFrame(JInternalFrame f)
ユーザがフレームのアイコン化を元に戻すときに呼び出されます。このアクションは DesktopManager に委譲されます。

activateFrame

protected void activateFrame(JInternalFrame f)
フレームが選択されたときに呼び出されます。このアクションは DesktopManager に委譲されます。

deactivateFrame

protected void deactivateFrame(JInternalFrame f)
フレームがもはや選択されなくなったときに呼び出されます。このアクションは DesktopManager に委譲されます。

createComponentListener

protected ComponentListener createComponentListener()

createGlassPaneDispatcher

protected MouseInputListener createGlassPaneDispatcher()

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.