| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
paint(Graphics g, JComponent c) 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 |
---|
protected KeyStroke closeKey
protected JDesktopPane desktop
protected DesktopManager desktopManager
protected KeyStroke maximizeKey
protected KeyStroke minimizeKey
protected KeyStroke navigateKey
protected KeyStroke navigateKey2
Constructor Detail |
---|
public BasicDesktopPaneUI()
Method Detail |
---|
protected PropertyChangeListener createPropertyChangeListener()
PropertyChangeListener
to install on
the JDesktopPane
.
public static ComponentUI createUI(JComponent c)
c
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class ComponentUI
c
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI
c
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
c
protected void installDefaults()
protected void installDesktopManager()
protected void installKeyboardActions()
protected void installListeners()
PropertyChangeListener
returned from
createPropertyChangeListener
on the
JDesktopPane
.
public void installUI(JComponent c)
installUI
in class ComponentUI
c
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
g
c
protected void registerKeyboardActions()
protected void uninstallDefaults()
protected void uninstallDesktopManager()
protected void uninstallKeyboardActions()
protected void uninstallListeners()
PropertyChangeListener
returned from
createPropertyChangeListener
from the
JDesktopPane
.
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
c
protected void unregisterKeyboardActions()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |