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 による実装です。
クラス 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()
バグや機能要求の報告
さらに詳しい 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.