| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | BasicDesktopPaneUI.
The default DesktopManager installed by the UI. |
| protected class | BasicDesktopPaneUI.
Handles closing an internal frame. |
| private class | |
| protected class | BasicDesktopPaneUI.
Handles maximizing an internal frame. |
| protected class | BasicDesktopPaneUI.
Handles minimizing an internal frame. |
| protected class | BasicDesktopPaneUI.
Handles navigating to the next internal frame. |
| protected class | BasicDesktopPaneUI.
Handles restoring a minimized or maximized internal frame. |
| Modifier and Type | Field and Description |
|---|---|
| protected KeyStroke | closeKey
Deprecated
As of 1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected JDesktopPane | desktop
The instance of |
| protected DesktopManager | desktopManager
The instance of |
| private BasicDesktopPaneUI. | |
| protected KeyStroke | maximizeKey
Deprecated
As of 1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected KeyStroke | minimizeKey
Deprecated
As of 1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected KeyStroke | navigateKey
Deprecated
As of 1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected KeyStroke | navigateKey2
Deprecated
As of 1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| private PropertyChangeListener | |
| private static final BasicDesktopPaneUI. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv InputMap | |
| protected PropertyChangeListener | Returns: The PropertyChangeListener that will be added to track changes in the desktop pane.Returns the |
| public static ComponentUI | Returns: a new instance ofBasicDesktopPaneUIa component c)Hides javax. Constructs a new instance of |
| private BasicDesktopPaneUI. | |
| pack-priv InputMap | |
| public Dimension | getMaximumSize(JComponent c)
Overrides javax. Returns the specified component's maximum size appropriate for the look and feel. |
| public Dimension | getMinimumSize(JComponent c)
Overrides javax. Returns the specified component's minimum size appropriate for the look and feel. |
| public Dimension | getPreferredSize(JComponent c)
Overrides javax. Returns the specified component's preferred size appropriate for the look and feel. |
| protected void | |
| protected void | |
| protected void | |
| protected void | installListeners()
Installs the |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| pack-priv static void | |
| public void | paint(Graphics g, JComponent c)
Overrides javax. Paints the specified component appropriately for the look and feel. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | uninstallListeners()
Uninstalls the |
| public void | uninstallUI(JComponent c)
Overrides javax. Reverses configuration which was done on the specified component during
|
| protected void |
| closeKey | back to summary |
|---|---|
| protected KeyStroke closeKey
Deprecated As of 1.3. 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 | back to summary |
|---|---|
| protected JDesktopPane desktop The instance of | |
| desktopManager | back to summary |
|---|---|
| protected DesktopManager desktopManager The instance of | |
| handler | back to summary |
|---|---|
| private BasicDesktopPaneUI. | |
| maximizeKey | back to summary |
|---|---|
| protected KeyStroke maximizeKey
Deprecated As of 1.3. 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 | back to summary |
|---|---|
| protected KeyStroke minimizeKey
Deprecated As of 1.3. 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 | back to summary |
|---|---|
| protected KeyStroke navigateKey
Deprecated As of 1.3. 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 | back to summary |
|---|---|
| protected KeyStroke navigateKey2
Deprecated As of 1.3. 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. | |
| pcl | back to summary |
|---|---|
| private PropertyChangeListener pcl | |
| SHARED_ACTION | back to summary |
|---|---|
| private static final BasicDesktopPaneUI. | |
| BasicDesktopPaneUI | back to summary |
|---|---|
| public BasicDesktopPaneUI() Constructs a new instance of | |
| createInputMap | back to summary |
|---|---|
| pack-priv InputMap createInputMap(int condition) | |
| createPropertyChangeListener | back to summary |
|---|---|
| protected PropertyChangeListener createPropertyChangeListener() Returns the
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Constructs a new instance of
| |
| getHandler | back to summary |
|---|---|
| private BasicDesktopPaneUI. | |
| getInputMap | back to summary |
|---|---|
| pack-priv InputMap getInputMap(int condition) | |
| getMaximumSize | back to summary |
|---|---|
| public Dimension getMaximumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's maximum size appropriate for
the look and feel. If
| |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's minimum size appropriate for
the look and feel. If
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's preferred size appropriate for
the look and feel. If
| |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Installs default properties. | |
| installDesktopManager | back to summary |
|---|---|
| protected void installDesktopManager() Installs desktop manager. | |
| installKeyboardActions | back to summary |
|---|---|
| protected void installKeyboardActions() Installs keyboard actions. | |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Installs the
| |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| loadActionMap | back to summary |
|---|---|
| pack-priv static void loadActionMap(LazyActionMap map) | |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, JComponent c) Overrides javax. Doc from javax. Paints the specified component appropriately for the look and feel.
This method is invoked from the | |
| registerKeyboardActions | back to summary |
|---|---|
| protected void registerKeyboardActions() Registers keyboard actions. | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Uninstalls default properties. | |
| uninstallDesktopManager | back to summary |
|---|---|
| protected void uninstallDesktopManager() Uninstalls desktop manager. | |
| uninstallKeyboardActions | back to summary |
|---|---|
| protected void uninstallKeyboardActions() Unregisters keyboard actions. | |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Uninstalls the
| |
| uninstallUI | back to summary |
|---|---|
| public void uninstallUI(JComponent c) Overrides javax. Doc from javax. Reverses configuration which was done on the specified component during
| |
| unregisterKeyboardActions | back to summary |
|---|---|
| protected void unregisterKeyboardActions() Unregisters keyboard actions. | |
| Modifier and Type | Field and Description |
|---|---|
| private static String | |
| private static String | |
| private static String | |
| private static Component | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static final int | |
| private static boolean | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static boolean | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static JInternalFrame | |
| private static String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(Object sender)
Overrides sun. Overrides default javax. Subclasses that need to conditionalize the enabled state should override this. |
| public void | actionPerformed(ActionEvent e)
Implements java. Invoked when an action occurs. |
| private void |
| CLOSE | back to summary |
|---|---|
| private static String CLOSE | |
| DOWN | back to summary |
|---|---|
| private static String DOWN | |
| ESCAPE | back to summary |
|---|---|
| private static String ESCAPE | |
| focusOwner | back to summary |
|---|---|
| private static Component focusOwner | |
| LEFT | back to summary |
|---|---|
| private static String LEFT | |
| MAXIMIZE | back to summary |
|---|---|
| private static String MAXIMIZE | |
| MINIMIZE | back to summary |
|---|---|
| private static String MINIMIZE | |
| MOVE | back to summary |
|---|---|
| private static String MOVE | |
| MOVE_RESIZE_INCREMENT | back to summary |
|---|---|
| private static final int MOVE_RESIZE_INCREMENT | |
| moving | back to summary |
|---|---|
| private static boolean moving | |
| NAVIGATE_NEXT | back to summary |
|---|---|
| private static String NAVIGATE_NEXT | |
| NAVIGATE_PREVIOUS | back to summary |
|---|---|
| private static String NAVIGATE_PREVIOUS | |
| NEXT_FRAME | back to summary |
|---|---|
| private static String NEXT_FRAME | |
| PREVIOUS_FRAME | back to summary |
|---|---|
| private static String PREVIOUS_FRAME | |
| RESIZE | back to summary |
|---|---|
| private static String RESIZE | |
| resizing | back to summary |
|---|---|
| private static boolean resizing | |
| RESTORE | back to summary |
|---|---|
| private static String RESTORE | |
| RIGHT | back to summary |
|---|---|
| private static String RIGHT | |
| SHRINK_DOWN | back to summary |
|---|---|
| private static String SHRINK_DOWN | |
| SHRINK_LEFT | back to summary |
|---|---|
| private static String SHRINK_LEFT | |
| SHRINK_RIGHT | back to summary |
|---|---|
| private static String SHRINK_RIGHT | |
| SHRINK_UP | back to summary |
|---|---|
| private static String SHRINK_UP | |
| sourceFrame | back to summary |
|---|---|
| private static JInternalFrame sourceFrame | |
| UP | back to summary |
|---|---|
| private static String UP | |
| Actions | back to summary |
|---|---|
| pack-priv Actions() | |
| Actions | back to summary |
|---|---|
| pack-priv Actions(String name) | |
| accept | back to summary |
|---|---|
| public boolean accept(Object sender) Overrides sun. Overrides default javax. Doc from sun. Subclasses that need to conditionalize the enabled state should
override this. Be aware that
| |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent e) Implements java. Doc from java. Invoked when an action occurs. | |
| setState | back to summary |
|---|---|
| private void setState(JDesktopPane dp, String state) | |
| Access | Constructor and Description |
|---|---|
| private |
| BasicDesktopManager | back to summary |
|---|---|
| private BasicDesktopManager() | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent evt)
Implements java. Invoked when an action occurs. |
| public boolean | isEnabled()
Overrides javax. Implements javax. Returns true if the action is enabled. |
| CloseAction | back to summary |
|---|---|
| protected CloseAction() Constructs a | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent evt) Implements java. Doc from java. Invoked when an action occurs. | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Overrides javax. Implements javax. Doc from javax. Returns true if the action is enabled. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | propertyChange(PropertyChangeEvent evt)
Implements java. This method gets called when a bound property is changed. |
| Handler | back to summary |
|---|---|
| private Handler() | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent evt) Implements java. Doc from java. This method gets called when a bound property is changed. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent evt)
Implements java. Invoked when an action occurs. |
| public boolean | isEnabled()
Overrides javax. Implements javax. Returns true if the action is enabled. |
| MaximizeAction | back to summary |
|---|---|
| protected MaximizeAction() Constructs a | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent evt) Implements java. Doc from java. Invoked when an action occurs. | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Overrides javax. Implements javax. Doc from javax. Returns true if the action is enabled. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent evt)
Implements java. Invoked when an action occurs. |
| public boolean | isEnabled()
Overrides javax. Implements javax. Returns true if the action is enabled. |
| MinimizeAction | back to summary |
|---|---|
| protected MinimizeAction() Constructs a | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent evt) Implements java. Doc from java. Invoked when an action occurs. | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Overrides javax. Implements javax. Doc from javax. Returns true if the action is enabled. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent evt)
Implements java. Invoked when an action occurs. |
| public boolean | isEnabled()
Overrides javax. Implements javax. Returns true if the action is enabled. |
| OpenAction | back to summary |
|---|---|
| protected OpenAction() Constructs an | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent evt) Implements java. Doc from java. Invoked when an action occurs. | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Overrides javax. Implements javax. Doc from javax. Returns true if the action is enabled. | |