所有类


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  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 platform 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)
          将必需的鼠标处理程序安装在 newPane 上并将其添加到窗体。
 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)
          在 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

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部