所有类


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 的基本 L&F 实现。


嵌套类摘要
protected  classBasicInternalFrameUI.BasicInternalFrameListener
           
protected  classBasicInternalFrameUI.BorderListener
          侦听边框调整。
protected  classBasicInternalFrameUI.ComponentHandler
           
protected  classBasicInternalFrameUI.GlassPaneDispatcher
           
 classBasicInternalFrameUI.InternalFrameLayout
           
 classBasicInternalFrameUI.InternalFramePropertyChangeListener
           
 
字段摘要
protected  MouseInputAdapterborderListener
           
protected  ComponentListenercomponentListener
           
protected  JComponenteastPane
           
protected  JInternalFrameframe
           
protected  MouseInputListenerglassPaneDispatcher
           
protected  LayoutManagerinternalFrameLayout
           
protected  JComponentnorthPane
           
protected  KeyStrokeopenMenuKey
          已过时。 从 Java 2 platform v1.3 开始。
protected  PropertyChangeListenerpropertyChangeListener
           
protected  JComponentsouthPane
           
protected  BasicInternalFrameTitlePanetitlePane
           
protected  JComponentwestPane
           
 
构造方法摘要
BasicInternalFrameUI(JInternalFrame b)
           
 
方法摘要
protected  voidactivateFrame(JInternalFrame f)
          窗体变为被选择状态时调用此方法。
protected  voidcloseFrame(JInternalFrame f)
          当用户要关闭窗体时调用此方法。
protected  MouseInputAdaptercreateBorderListener(JInternalFrame w)
           
protected  ComponentListenercreateComponentListener()
           
protected  DesktopManagercreateDesktopManager()
           
protected  JComponentcreateEastPane(JInternalFrame w)
           
protected  MouseInputListenercreateGlassPaneDispatcher()
           
protected  voidcreateInternalFrameListener()
           
protected  LayoutManagercreateLayoutManager()
           
protected  JComponentcreateNorthPane(JInternalFrame w)
           
protected  PropertyChangeListenercreatePropertyChangeListener()
           
protected  JComponentcreateSouthPane(JInternalFrame w)
           
static ComponentUIcreateUI(JComponent b)
           
protected  JComponentcreateWestPane(JInternalFrame w)
           
protected  voiddeactivateFrame(JInternalFrame f)
          窗体不再是被选择状态时调用此方法。
protected  voiddeiconifyFrame(JInternalFrame f)
          当用户要取消图标化窗体时调用此方法。
protected  voiddeinstallMouseHandlers(JComponent c)
           
protected  DesktopManagergetDesktopManager()
          返回适当的 DesktopManager。
 JComponentgetEastPane()
           
 DimensiongetMaximumSize(JComponent x)
          返回指定组件的适合外观的最大大小。
 DimensiongetMinimumSize(JComponent x)
          返回指定组件的适合外观的最小大小。
 JComponentgetNorthPane()
           
 DimensiongetPreferredSize(JComponent x)
          返回指定组件的适合外观的首选大小。
 JComponentgetSouthPane()
           
 JComponentgetWestPane()
           
protected  voidiconifyFrame(JInternalFrame f)
          当用户要图标化窗体时调用此方法。
protected  voidinstallComponents()
           
protected  voidinstallDefaults()
           
protected  voidinstallKeyboardActions()
           
protected  voidinstallListeners()
           
protected  voidinstallMouseHandlers(JComponent c)
           
 voidinstallUI(JComponent c)
          配置指定组件,使其适合外观。
 booleanisKeyBindingActive()
           
protected  booleanisKeyBindingRegistered()
           
protected  voidmaximizeFrame(JInternalFrame f)
          当用户要最大化窗体时调用此方法。
protected  voidminimizeFrame(JInternalFrame f)
          当用户要最小化窗体时调用此方法。
protected  voidreplacePane(JComponent currentPane, JComponent newPane)
          将必需的鼠标处理程序安装在 newPane 上并将其添加到窗体。
 voidsetEastPane(JComponent c)
           
protected  voidsetKeyBindingActive(boolean b)
           
protected  voidsetKeyBindingRegistered(boolean b)
           
 voidsetNorthPane(JComponent c)
           
 voidsetSouthPane(JComponent c)
           
protected  voidsetupMenuCloseKey()
           
protected  voidsetupMenuOpenKey()
           
 voidsetWestPane(JComponent c)
           
protected  voiduninstallComponents()
           
protected  voiduninstallDefaults()
           
protected  voiduninstallKeyboardActions()
           
protected  voiduninstallListeners()
           
 voiduninstallUI(JComponent c)
          在 installUI 期间,在指定组件上反向执行的配置操作。
 
从类 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