Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.DesktopPaneUI
javax.swing.plaf.basic.BasicDesktopPaneUI
public class BasicDesktopPaneUI
extends DesktopPaneUI
Nested Class Summary | |
protected class |
|
protected class |
|
protected class |
|
protected class |
|
protected class |
|
Field Summary | |
protected KeyStroke |
|
protected JDesktopPane |
|
protected DesktopManager |
|
protected KeyStroke |
|
protected KeyStroke |
|
protected KeyStroke |
|
protected KeyStroke |
|
Constructor Summary | |
|
Method Summary | |
static ComponentUI |
|
Dimension |
|
Dimension |
|
Dimension |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
protected void |
|
Methods inherited from class javax.swing.plaf.ComponentUI | |
contains , createUI , getAccessibleChild , getAccessibleChildrenCount , getMaximumSize , getMinimumSize , getPreferredSize , installUI , paint , uninstallUI , update |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
protected KeyStroke closeKey
Deprecated.
The KeyStroke associated with closing JInternalFrames.
protected DesktopManager desktopManager
The default desktop manager used with JDesktopPane.
protected KeyStroke maximizeKey
Deprecated.
The KeyStroke associated with maximizing JInternalFrames.
protected KeyStroke minimizeKey
Deprecated.
The KeyStroke associated with minimizing JInternalFrames.
protected KeyStroke navigateKey
Deprecated.
The KeyStroke associated with navigating (forward?) through JInternalFrames.
protected KeyStroke navigateKey2
Deprecated.
The KeyStroke associated with navigating (backward?) through JInternalFrames.
public static ComponentUI createUI(JComponent c)
This method creates a BasicDesktopPaneUI for the given JComponent.
- Overrides:
- createUI in interface ComponentUI
- Parameters:
c
- The JComponent to create a UI for.
- Returns:
- A new BasicDesktopPaneUI.
public Dimension getMaximumSize(JComponent c)
This method returns the maximum size for the given JComponent.
- Overrides:
- getMaximumSize in interface ComponentUI
- Parameters:
c
- The JComponent to find a maximum size for.
- Returns:
- The maximum size for the given JComponent.
public Dimension getMinimumSize(JComponent c)
This method returns the minimum size for the given JComponent.
- Overrides:
- getMinimumSize in interface ComponentUI
- Parameters:
c
- The JComponent to find a minimum size for.
- Returns:
- The minimum size for the given JComponent.
public Dimension getPreferredSize(JComponent c)
This method returns the preferred size for the given JComponent.
- Overrides:
- getPreferredSize in interface ComponentUI
- Parameters:
c
- The JComponent to find a preferred size for.
- Returns:
- The preferred size for the given JComponent.
protected void installDefaults()
This method installs the defaults for the JDesktopPane provided by the current look and feel.
protected void installDesktopManager()
This method installs the desktop manager for the JDesktopPane.
protected void installKeyboardActions()
This method installs the keyboard actions for the JDesktopPane.
public void installUI(JComponent c)
This method installs the UI for the given JComponent.
- Overrides:
- installUI in interface ComponentUI
- Parameters:
c
- The JComponent to install this UI for.
protected void registerKeyboardActions()
This method registers the actions to the appropriate Action and Input maps.
protected void uninstallDefaults()
This method reverses the work done by the installDefaults method.
protected void uninstallDesktopManager()
This method reverses the work done by the installDesktopManager method.
protected void uninstallKeyboardActions()
This method reverses the work done by the installKeyboardActions method.
public void uninstallUI(JComponent c)
This method uninstalls the UI for the given JComponent. It should reverse all the work done by the installUI method.
- Overrides:
- uninstallUI in interface ComponentUI
- Parameters:
c
- The JComponent to uninstall this UI for.
protected void unregisterKeyboardActions()
This method reverses the work done by the registerKeyboardActions method.