|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.DesktopPaneUI | +--javax.swing.plaf.basic.BasicDesktopPaneUI
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
|
protected class |
BasicDesktopPaneUI.OpenAction
|
Field Summary | |
protected KeyStroke |
closeKey
Deprecated. As of JDK version 1.3. |
protected JDesktopPane |
desktop
|
protected DesktopManager |
desktopManager
|
protected KeyStroke |
maximizeKey
Deprecated. As of JDK version 1.3. |
protected KeyStroke |
minimizeKey
Deprecated. As of JDK version 1.3. |
protected KeyStroke |
navigateKey
Deprecated. As of JDK version 1.3. |
protected KeyStroke |
navigateKey2
Deprecated. As of JDK version 1.3. |
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 |
protected JDesktopPane desktop
protected DesktopManager desktopManager
protected KeyStroke minimizeKey
protected KeyStroke maximizeKey
protected KeyStroke closeKey
protected KeyStroke navigateKey
protected KeyStroke navigateKey2
Constructor Detail |
public BasicDesktopPaneUI()
Method Detail |
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void uninstallDefaults()
protected void installDesktopManager()
protected void uninstallDesktopManager()
protected void installKeyboardActions()
protected void registerKeyboardActions()
protected void unregisterKeyboardActions()
protected void uninstallKeyboardActions()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class ComponentUI
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.