API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicDesktopPaneUI View Source
Author(s)
Steve Wilson
Since
Version
1.61 04/07/06
Serial
Hierarchy
 Object
      ComponentUI
          DesktopPaneUI
              BasicDesktopPaneUI
Implements
Subclasses
Description
public class BasicDesktopPaneUI
Basic L&F for a desktop.
See also:   
Constructors
public BasicDesktopPaneUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
pack-private InputMap createInputMap (int condition)
protected PropertyChangeListener createPropertyChangeListener ()
  Returns the PropertyChangeListener to install on the JDesktopPane.
publicstatic ComponentUI createUI (JComponent c) [Overrides ComponentUI]
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
pack-private InputMap getInputMap (int condition)
public Dimension getMaximumSize (JComponent c) [Overrides ComponentUI]
public Dimension getMinimumSize (JComponent c) [Overrides ComponentUI]
public Dimension getPreferredSize (JComponent c) [Overrides ComponentUI]
protected void installDefaults ()
protected void installDesktopManager ()
protected void installKeyboardActions ()
protected void installListeners ()
  Installs the PropertyChangeListener returned from createPropertyChangeListener on the JDesktopPane.
public void installUI (JComponent c) [Overrides ComponentUI]
pack-privatestatic void loadActionMap (LazyActionMap map)
public void paint (Graphics g, JComponent c) [Overrides ComponentUI]
protected void registerKeyboardActions ()
protected void uninstallDefaults ()
protected void uninstallDesktopManager ()
protected void uninstallKeyboardActions ()
protected void uninstallListeners ()
  Uninstalls the PropertyChangeListener returned from createPropertyChangeListener from the JDesktopPane.
public void uninstallUI (JComponent c) [Overrides ComponentUI]
protected void unregisterKeyboardActions ()
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
@Deprecated
protected KeyStroke closeKey
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected JDesktopPane desktop
protected DesktopManager desktopManager
@Deprecated
protected KeyStroke maximizeKey
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected KeyStroke minimizeKey
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected KeyStroke navigateKey
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected KeyStroke navigateKey2
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
Nested Classes
  BasicDesktopPaneUI.OpenAction
Handles restoring a minimized or maximized internal frame.
  BasicDesktopPaneUI.CloseAction
Handles closing an internal frame.
  BasicDesktopPaneUI.MinimizeAction
Handles minimizing an internal frame.
  BasicDesktopPaneUI.MaximizeAction
Handles maximizing an internal frame.
  BasicDesktopPaneUI.NavigateAction
Handles navigating to the next internal frame.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar