Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicInternalFrameUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.InternalFrameUI
         javax.swing.plaf.basic.BasicInternalFrameUI

Direct Known Subclasses:
    SynthInternalFrameUI, MetalInternalFrameUI

A basic L&F implementation of JInternalFrame.
Nested Class Summary:
public class  BasicInternalFrameUI.InternalFramePropertyChangeListener   
public class  BasicInternalFrameUI.InternalFrameLayout   
protected class  BasicInternalFrameUI.BorderListener  Listens for border adjustments. 
protected class  BasicInternalFrameUI.ComponentHandler   
protected class  BasicInternalFrameUI.GlassPaneDispatcher   
protected class  BasicInternalFrameUI.BasicInternalFrameListener   
Field Summary
protected  JInternalFrame frame     
protected  MouseInputAdapter borderListener     
protected  PropertyChangeListener propertyChangeListener     
protected  LayoutManager internalFrameLayout     
protected  ComponentListener componentListener     
protected  MouseInputListener glassPaneDispatcher     
protected  JComponent northPane     
protected  JComponent southPane     
protected  JComponent westPane     
protected  JComponent eastPane     
protected  BasicInternalFrameTitlePane titlePane     
protected  KeyStroke openMenuKey    As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
     
    Constructor:
     public BasicInternalFrameUI(JInternalFrame b) 
    Method from javax.swing.plaf.basic.BasicInternalFrameUI Summary:
    activateFrame,   closeFrame,   createBorderListener,   createComponentListener,   createDesktopManager,   createEastPane,   createGlassPaneDispatcher,   createInputMap,   createInternalFrameListener,   createLayoutManager,   createNorthPane,   createPropertyChangeListener,   createSouthPane,   createUI,   createWestPane,   deactivateFrame,   deiconifyFrame,   deinstallMouseHandlers,   getDesktopManager,   getEastPane,   getInputMap,   getMaximumSize,   getMinimumSize,   getNorthPane,   getPreferredSize,   getSouthPane,   getWestPane,   iconifyFrame,   installComponents,   installDefaults,   installKeyboardActions,   installListeners,   installMouseHandlers,   installUI,   isKeyBindingActive,   isKeyBindingRegistered,   loadActionMap,   maximizeFrame,   minimizeFrame,   replacePane,   setEastPane,   setKeyBindingActive,   setKeyBindingRegistered,   setNorthPane,   setSouthPane,   setWestPane,   setupMenuCloseKey,   setupMenuOpenKey,   uninstallComponents,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI,   updateFrameCursor
    Methods from javax.swing.plaf.ComponentUI:
    contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
    Methods from java.lang.Object:
    clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
    Method from javax.swing.plaf.basic.BasicInternalFrameUI Detail:
     protected  void activateFrame(JInternalFrame f) 
      This method is called when the frame becomes selected. This action is delegated to the desktopManager.
     protected  void closeFrame(JInternalFrame f) 
      This method is called when the user wants to close the frame. The playCloseSound Action is fired. This action is delegated to the desktopManager.
     protected MouseInputAdapter createBorderListener(JInternalFrame w) 
     protected ComponentListener createComponentListener() 
     protected DesktopManager createDesktopManager() 
     protected JComponent createEastPane(JInternalFrame w) 
     protected MouseInputListener createGlassPaneDispatcher() 
     InputMap createInputMap(int condition) 
     protected  void createInternalFrameListener() 
     protected LayoutManager createLayoutManager() 
     protected JComponent createNorthPane(JInternalFrame w) 
     protected PropertyChangeListener createPropertyChangeListener() 
     protected JComponent createSouthPane(JInternalFrame w) 
     public static ComponentUI createUI(JComponent b) 
     protected JComponent createWestPane(JInternalFrame w) 
     protected  void deactivateFrame(JInternalFrame f) 
      This method is called when the frame is no longer selected. This action is delegated to the desktopManager.
     protected  void deiconifyFrame(JInternalFrame f) 
      This method is called when the user wants to deiconify the frame. The playRestoreUpSound Action is fired. This action is delegated to the desktopManager.
     protected  void deinstallMouseHandlers(JComponent c) 
     protected DesktopManager getDesktopManager() 
      Returns the proper DesktopManager. Calls getDesktopPane() to find the JDesktop component and returns the desktopManager from it. If this fails, it will return a default DesktopManager that should work in arbitrary parents.
     public JComponent getEastPane() 
     InputMap getInputMap(int condition) 
     public Dimension getMaximumSize(JComponent x) 
     public Dimension getMinimumSize(JComponent x) 
     public JComponent getNorthPane() 
     public Dimension getPreferredSize(JComponent x) 
     public JComponent getSouthPane() 
     public JComponent getWestPane() 
     protected  void iconifyFrame(JInternalFrame f) 
      This method is called when the user wants to iconify the frame. The playMinimizeSound Action is fired. This action is delegated to the desktopManager.
     protected  void installComponents() 
     protected  void installDefaults() 
     protected  void installKeyboardActions() 
     protected  void installListeners() 
     protected  void installMouseHandlers(JComponent c) 
     public  void installUI(JComponent c) 
     public final boolean isKeyBindingActive() 
     protected final boolean isKeyBindingRegistered() 
     static  void loadActionMap(LazyActionMap map) 
     protected  void maximizeFrame(JInternalFrame f) 
      This method is called when the user wants to maximize the frame. The playMaximizeSound Action is fired. This action is delegated to the desktopManager.
     protected  void minimizeFrame(JInternalFrame f) 
      This method is called when the user wants to minimize the frame. The playRestoreDownSound Action is fired. This action is delegated to the desktopManager.
     protected  void replacePane(JComponent currentPane,
        JComponent newPane) 
      Installs necessary mouse handlers on newPane and adds it to the frame. Reverse process for the currentPane.
     public  void setEastPane(JComponent c) 
     protected final  void setKeyBindingActive(boolean b) 
     protected final  void setKeyBindingRegistered(boolean b) 
     public  void setNorthPane(JComponent c) 
     public  void setSouthPane(JComponent c) 
     public  void setWestPane(JComponent c) 
     protected  void setupMenuCloseKey() 
     protected  void setupMenuOpenKey() 
     protected  void uninstallComponents() 
     protected  void uninstallDefaults() 
     protected  void uninstallKeyboardActions() 
     protected  void uninstallListeners() 
     public  void uninstallUI(JComponent c) 
      void updateFrameCursor()