javax.swing.plaf.basic
Class BasicInternalFrameUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.InternalFrameUI
              |
              +--javax.swing.plaf.basic.BasicInternalFrameUI
Direct Known Subclasses:
MetalInternalFrameUI

public class BasicInternalFrameUI
extends InternalFrameUI

A basic L&F implementation of JInternalFrame.


Inner Class Summary
protected  class BasicInternalFrameUI.BasicInternalFrameListener
protected  class BasicInternalFrameUI.BorderListener
BasicInternalFrameUI.BorderListener
Listens for border adjustments.
protected  class BasicInternalFrameUI.ComponentHandler
protected  class BasicInternalFrameUI.GlassPaneDispatcher
 class BasicInternalFrameUI.InternalFrameLayout
 class BasicInternalFrameUI.InternalFramePropertyChangeListener
 
Field Summary
protected  MouseInputAdapter borderListener
copy->  borderListener
protected  ComponentListener componentListener
copy->  componentListener
protected  JComponent eastPane
copy->  eastPane
protected  JInternalFrame frame
copy->  frame
protected  MouseInputListener glassPaneDispatcher
copy->  glassPaneDispatcher
protected  LayoutManager internalFrameLayout
copy->  internalFrameLayout
protected  JComponent northPane
copy->  northPane
protected  KeyStroke openMenuKey
copy->  openMenuKey
Deprecated. As of Java 2 platform v1.3.

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.
protected  PropertyChangeListener propertyChangeListener
copy->  propertyChangeListener
protected  JComponent southPane
copy->  southPane
protected  BasicInternalFrameTitlePane titlePane
copy->  titlePane
protected  JComponent westPane
copy->  westPane
 
Constructor Summary
BasicInternalFrameUI
copy->  new BasicInternalFrameUI( )
copy->  <BasicInternalFrameUI var> = new BasicInternalFrameUI(<JInternalFrame b>);
 
Method Summary
protected  void activateFrame(JInternalFrame f)
copy->  .activateFrame( )
copy->  <BasicInternalFrameUI>.activateFrame(<JInternalFrame f>);
This method is called when the frame becomes selected. This action is delegated to the desktopManager.
protected  void closeFrame(JInternalFrame f)
copy->  .closeFrame( )
copy->  <BasicInternalFrameUI>.closeFrame(<JInternalFrame f>);
This method is called when the user wants to close the frame. This action is delegated to the desktopManager.
protected  MouseInputAdapter createBorderListener(JInternalFrame w)
copy->  .createBorderListener( )
copy->  <MouseInputAdapter var>=<BasicInternalFrameUI>.createBorderListener(<JInternalFrame w>);
protected  ComponentListener createComponentListener()
copy->  .createComponentListener()
copy->  <ComponentListener var>=<BasicInternalFrameUI>.createComponentListener();
protected  DesktopManager createDesktopManager()
copy->  .createDesktopManager()
copy->  <DesktopManager var>=<BasicInternalFrameUI>.createDesktopManager();
protected  JComponent createEastPane(JInternalFrame w)
copy->  .createEastPane( )
copy->  <JComponent var>=<BasicInternalFrameUI>.createEastPane(<JInternalFrame w>);
protected  MouseInputListener createGlassPaneDispatcher()
copy->  .createGlassPaneDispatcher()
copy->  <MouseInputListener var>=<BasicInternalFrameUI>.createGlassPaneDispatcher();
protected  void createInternalFrameListener()
copy->  .createInternalFrameListener()
copy->  <BasicInternalFrameUI>.createInternalFrameListener();
protected  LayoutManager createLayoutManager()
copy->  .createLayoutManager()
copy->  <LayoutManager var>=<BasicInternalFrameUI>.createLayoutManager();
protected  JComponent createNorthPane(JInternalFrame w)
copy->  .createNorthPane( )
copy->  <JComponent var>=<BasicInternalFrameUI>.createNorthPane(<JInternalFrame w>);
protected  PropertyChangeListener createPropertyChangeListener()
copy->  .createPropertyChangeListener()
copy->  <PropertyChangeListener var>=<BasicInternalFrameUI>.createPropertyChangeListener();
protected  JComponent createSouthPane(JInternalFrame w)
copy->  .createSouthPane( )
copy->  <JComponent var>=<BasicInternalFrameUI>.createSouthPane(<JInternalFrame w>);
static ComponentUI createUI(JComponent b)
copy->  BasicInternalFrameUI.createUI( )
copy->  <ComponentUI var>=BasicInternalFrameUI.createUI(<JComponent b>);
protected  JComponent createWestPane(JInternalFrame w)
copy->  .createWestPane( )
copy->  <JComponent var>=<BasicInternalFrameUI>.createWestPane(<JInternalFrame w>);
protected  void deactivateFrame(JInternalFrame f)
copy->  .deactivateFrame( )
copy->  <BasicInternalFrameUI>.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)
copy->  .deiconifyFrame( )
copy->  <BasicInternalFrameUI>.deiconifyFrame(<JInternalFrame f>);
This method is called when the user wants to deiconify the frame. This action is delegated to the desktopManager.
protected  void deinstallMouseHandlers(JComponent c)
copy->  .deinstallMouseHandlers( )
copy->  <BasicInternalFrameUI>.deinstallMouseHandlers(<JComponent c>);
protected  DesktopManager getDesktopManager()
copy->  .getDesktopManager()
copy->  <DesktopManager var>=<BasicInternalFrameUI>.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.
 JComponent getEastPane()
copy->  .getEastPane()
copy->  <JComponent var>=<BasicInternalFrameUI>.getEastPane();
 Dimension getMaximumSize(JComponent x)
copy->  .getMaximumSize( )
copy->  <Dimension var>=<BasicInternalFrameUI>.getMaximumSize(<JComponent x>);
Overrides:
getMaximumSize in class ComponentUI
 Dimension getMinimumSize(JComponent x)
copy->  .getMinimumSize( )
copy->  <Dimension var>=<BasicInternalFrameUI>.getMinimumSize(<JComponent x>);
Overrides:
getMinimumSize in class ComponentUI
 JComponent getNorthPane()
copy->  .getNorthPane()
copy->  <JComponent var>=<BasicInternalFrameUI>.getNorthPane();
 Dimension getPreferredSize(JComponent x)
copy->  .getPreferredSize( )
copy->  <Dimension var>=<BasicInternalFrameUI>.getPreferredSize(<JComponent x>);
Overrides:
getPreferredSize in class ComponentUI
 JComponent getSouthPane()
copy->  .getSouthPane()
copy->  <JComponent var>=<BasicInternalFrameUI>.getSouthPane();
 JComponent getWestPane()
copy->  .getWestPane()
copy->  <JComponent var>=<BasicInternalFrameUI>.getWestPane();
protected  void iconifyFrame(JInternalFrame f)
copy->  .iconifyFrame( )
copy->  <BasicInternalFrameUI>.iconifyFrame(<JInternalFrame f>);
This method is called when the user wants to iconify the frame. This action is delegated to the desktopManager.
protected  void installComponents()
copy->  .installComponents()
copy->  <BasicInternalFrameUI>.installComponents();
protected  void installDefaults()
copy->  .installDefaults()
copy->  <BasicInternalFrameUI>.installDefaults();
protected  void installKeyboardActions()
copy->  .installKeyboardActions()
copy->  <BasicInternalFrameUI>.installKeyboardActions();
protected  void installListeners()
copy->  .installListeners()
copy->  <BasicInternalFrameUI>.installListeners();
protected  void installMouseHandlers(JComponent c)
copy->  .installMouseHandlers( )
copy->  <BasicInternalFrameUI>.installMouseHandlers(<JComponent c>);
 void installUI(JComponent c)
copy->  .installUI( )
copy->  <BasicInternalFrameUI>.installUI(<JComponent c>);
Overrides:
installUI in class ComponentUI
 boolean isKeyBindingActive()
copy->  .isKeyBindingActive()
copy->  <boolean var>=<BasicInternalFrameUI>.isKeyBindingActive();
protected  boolean isKeyBindingRegistered()
copy->  .isKeyBindingRegistered()
copy->  <boolean var>=<BasicInternalFrameUI>.isKeyBindingRegistered();
protected  void maximizeFrame(JInternalFrame f)
copy->  .maximizeFrame( )
copy->  <BasicInternalFrameUI>.maximizeFrame(<JInternalFrame f>);
This method is called when the user wants to maximize the frame. This action is delegated to the desktopManager.
protected  void minimizeFrame(JInternalFrame f)
copy->  .minimizeFrame( )
copy->  <BasicInternalFrameUI>.minimizeFrame(<JInternalFrame f>);
This method is called when the user wants to minimize the frame. This action is delegated to the desktopManager.
protected  void replacePane(JComponent currentPane, JComponent newPane)
copy->  .replacePane(, )
copy->  <BasicInternalFrameUI>.replacePane(<JComponent currentPane>, <JComponent newPane>);
Adds necessary mouseHandlers to currentPane and adds it to frame. Reverse process for the newPane.
 void setEastPane(JComponent c)
copy->  .setEastPane( )
copy->  <BasicInternalFrameUI>.setEastPane(<JComponent c>);
protected  void setKeyBindingActive(boolean b)
copy->  .setKeyBindingActive( )
copy->  <BasicInternalFrameUI>.setKeyBindingActive(<boolean b>);
protected  void setKeyBindingRegistered(boolean b)
copy->  .setKeyBindingRegistered( )
copy->  <BasicInternalFrameUI>.setKeyBindingRegistered(<boolean b>);
 void setNorthPane(JComponent c)
copy->  .setNorthPane( )
copy->  <BasicInternalFrameUI>.setNorthPane(<JComponent c>);
 void setSouthPane(JComponent c)
copy->  .setSouthPane( )
copy->  <BasicInternalFrameUI>.setSouthPane(<JComponent c>);
protected  void setupMenuCloseKey()
copy->  .setupMenuCloseKey()
copy->  <BasicInternalFrameUI>.setupMenuCloseKey();
protected  void setupMenuOpenKey()
copy->  .setupMenuOpenKey()
copy->  <BasicInternalFrameUI>.setupMenuOpenKey();
 void setWestPane(JComponent c)
copy->  .setWestPane( )
copy->  <BasicInternalFrameUI>.setWestPane(<JComponent c>);
protected  void uninstallComponents()
copy->  .uninstallComponents()
copy->  <BasicInternalFrameUI>.uninstallComponents();
protected  void uninstallDefaults()
copy->  .uninstallDefaults()
copy->  <BasicInternalFrameUI>.uninstallDefaults();
protected  void uninstallKeyboardActions()
copy->  .uninstallKeyboardActions()
copy->  <BasicInternalFrameUI>.uninstallKeyboardActions();
protected  void uninstallListeners()
copy->  .uninstallListeners()
copy->  <BasicInternalFrameUI>.uninstallListeners();
 void uninstallUI(JComponent c)
copy->  .uninstallUI( )
copy->  <BasicInternalFrameUI>.uninstallUI(<JComponent c>);
Overrides:
uninstallUI in class ComponentUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait