This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.basic
class BasicDesktopPaneUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.DesktopPaneUI extended by javax.swing.plaf.basic.BasicDesktopPaneUI

public class BasicDesktopPaneUI
extends DesktopPaneUI

Basic L&F for a desktop.


Nested Class Summary
protected class

           Handles closing an internal frame.
protected class

           Handles maximizing an internal frame.
protected class

           Handles minimizing an internal frame.
protected class

           Handles navigating to the next internal frame.
protected class

           Handles restoring a minimized or maximized internal frame.
 
Field Summary
protected KeyStroke closeKey
          As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected JDesktopPane desktop
          
protected DesktopManager desktopManager
          
protected KeyStroke maximizeKey
          As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected KeyStroke minimizeKey
          As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected KeyStroke navigateKey
          As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected KeyStroke navigateKey2
          As of Java 2 platform v1.3 this previously undocumented field is no longer used.
 
Constructor Summary

          
 
Method Summary
protected PropertyChangeListener

          Returns the PropertyChangeListener to install on the JDesktopPane.
static ComponentUI

          
 Dimension

          Returns the specified component's maximum size appropriate for the look and feel.
 Dimension

          Returns the specified component's minimum size appropriate for the look and feel.
 Dimension

          Returns the specified component's preferred size appropriate for the look and feel.
protected void

          
protected void

          
protected void

          
protected void

          Installs the PropertyChangeListener returned from createPropertyChangeListener on the JDesktopPane.
 void

          Configures the specified component appropriate for the look and feel.
 void

          Paints the specified component appropriate for the look and feel.
protected void

          
protected void

          
protected void

          
protected void

          
protected void

          Uninstalls the PropertyChangeListener returned from createPropertyChangeListener from the JDesktopPane.
 void

          Reverses configuration which was done on the specified component during installUI.
protected void

          
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closeKey

protected KeyStroke closeKey
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.

desktop

protected JDesktopPane desktop

desktopManager

protected DesktopManager desktopManager

maximizeKey

protected KeyStroke maximizeKey
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.

minimizeKey

protected KeyStroke minimizeKey
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.

navigateKey

protected KeyStroke navigateKey
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.

navigateKey2

protected KeyStroke navigateKey2
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 Detail

BasicDesktopPaneUI

public BasicDesktopPaneUI()
Method Detail

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()
Returns the PropertyChangeListener to install on the JDesktopPane.

Returns:
The PropertyChangeListener that will be added to track changes in the desktop pane.

createUI

public static ComponentUI createUI(JComponent c)
Parameters:
c

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI
Parameters:
c

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
Parameters:
c

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
Parameters:
c

installDefaults

protected void installDefaults()

installDesktopManager

protected void installDesktopManager()

installKeyboardActions

protected void installKeyboardActions()

installListeners

protected void installListeners()
Installs the PropertyChangeListener returned from createPropertyChangeListener on the JDesktopPane.


installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
Parameters:
c

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI
Parameters:
g
c

registerKeyboardActions

protected void registerKeyboardActions()

uninstallDefaults

protected void uninstallDefaults()

uninstallDesktopManager

protected void uninstallDesktopManager()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

uninstallListeners

protected void uninstallListeners()
Uninstalls the PropertyChangeListener returned from createPropertyChangeListener from the JDesktopPane.


uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
Parameters:
c

unregisterKeyboardActions

protected void unregisterKeyboardActions()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.