Java Platform 1.2

javax.swing.plaf.basic
Class BasicDesktopPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.DesktopPaneUI
              |
              +--javax.swing.plaf.basic.BasicDesktopPaneUI

public class BasicDesktopPaneUI
extends DesktopPaneUI

Basic L&F for a desktop.


Inner Class Summary
protected  class BasicDesktopPaneUI.CloseAction
           
protected  class BasicDesktopPaneUI.MaximizeAction
           
protected  class BasicDesktopPaneUI.MinimizeAction
           
protected  class BasicDesktopPaneUI.NavigateAction
           
 
Field Summary
protected  KeyStroke closeKey
           
protected  JDesktopPane desktop
           
protected  DesktopManager desktopManager
           
protected  KeyStroke maximizeKey
           
protected  KeyStroke minimizeKey
           
protected  KeyStroke navigateKey
           
protected  KeyStroke navigateKey2
           
 
Constructor Summary
BasicDesktopPaneUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installDefaults()
           
protected  void installDesktopManager()
           
protected  void installKeyboardActions()
           
 void installUI(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
protected  void registerKeyboardActions()
           
protected  void uninstallDefaults()
           
protected  void uninstallDesktopManager()
           
protected  void uninstallKeyboardActions()
           
 void uninstallUI(JComponent c)
           
protected  void unregisterKeyboardActions()
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

desktop

protected JDesktopPane desktop

desktopManager

protected DesktopManager desktopManager

minimizeKey

protected KeyStroke minimizeKey

maximizeKey

protected KeyStroke maximizeKey

closeKey

protected KeyStroke closeKey

navigateKey

protected KeyStroke navigateKey

navigateKey2

protected KeyStroke navigateKey2
Constructor Detail

BasicDesktopPaneUI

public BasicDesktopPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

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

uninstallUI

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

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

installDesktopManager

protected void installDesktopManager()

uninstallDesktopManager

protected void uninstallDesktopManager()

installKeyboardActions

protected void installKeyboardActions()

registerKeyboardActions

protected void registerKeyboardActions()

unregisterKeyboardActions

protected void unregisterKeyboardActions()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

paint

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

getPreferredSize

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

getMinimumSize

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

getMaximumSize

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

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.