javax.swing.plaf.basic
Class BasicDesktopPaneUI

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI 
      extended by javax.swing.plaf.DesktopPaneUI sample code for javax.swing.plaf.DesktopPaneUI definition code for javax.swing.plaf.DesktopPaneUI 
          extended by javax.swing.plaf.basic.BasicDesktopPaneUI

public class BasicDesktopPaneUI
extends DesktopPaneUI sample code for javax.swing.plaf.DesktopPaneUI definition code for javax.swing.plaf.DesktopPaneUI

Basic L&F for a desktop.


Nested Class Summary
protected  class BasicDesktopPaneUI.CloseAction sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.CloseAction definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.CloseAction
           
protected  class BasicDesktopPaneUI.MaximizeAction sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.MaximizeAction definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.MaximizeAction
           
protected  class BasicDesktopPaneUI.MinimizeAction sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.MinimizeAction definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.MinimizeAction
           
protected  class BasicDesktopPaneUI.NavigateAction sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.NavigateAction definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.NavigateAction
           
protected  class BasicDesktopPaneUI.OpenAction sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.OpenAction definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.OpenAction
           
 
Field Summary
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke closeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey
          Deprecated. As of 1.3.
protected  JDesktopPane sample code for javax.swing.JDesktopPane definition code for javax.swing.JDesktopPane desktop sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktop definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktop
           
protected  DesktopManager sample code for javax.swing.DesktopManager definition code for javax.swing.DesktopManager desktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktopManager definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktopManager
           
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke maximizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey
          Deprecated. As of 1.3.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke minimizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey
          Deprecated. As of 1.3.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke navigateKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey
          Deprecated. As of 1.3.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke navigateKey2 sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2 definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2
          Deprecated. As of 1.3.
 
Constructor Summary
BasicDesktopPaneUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.BasicDesktopPaneUI() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.BasicDesktopPaneUI() ()
           
 
Method Summary
protected  PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener() ()
          Returns the PropertyChangeListener to install on the JDesktopPane.
static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI createUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMaximumSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMaximumSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Returns the specified component's maximum size appropriate for the look and feel.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMinimumSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMinimumSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Returns the specified component's minimum size appropriate for the look and feel.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getPreferredSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getPreferredSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Returns the specified component's preferred size appropriate for the look and feel.
protected  void installDefaults sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDefaults() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDefaults() ()
           
protected  void installDesktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDesktopManager() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDesktopManager() ()
           
protected  void installKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installKeyboardActions() ()
           
protected  void installListeners sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installListeners() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installListeners() ()
          Installs the PropertyChangeListener returned from createPropertyChangeListener on the JDesktopPane.
 void installUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Configures the specified component appropriate for the look and feel.
 void paint sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g, JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Paints the specified component appropriate for the look and feel.
protected  void registerKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.registerKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.registerKeyboardActions() ()
           
protected  void uninstallDefaults sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDefaults() ()
           
protected  void uninstallDesktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDesktopManager() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDesktopManager() ()
           
protected  void uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallKeyboardActions() ()
           
protected  void uninstallListeners sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallListeners() ()
          Uninstalls the PropertyChangeListener returned from createPropertyChangeListener from the JDesktopPane.
 void uninstallUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Reverses configuration which was done on the specified component during installUI.
protected  void unregisterKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.unregisterKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.unregisterKeyboardActions() ()
           
 
Methods inherited from class javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
contains sample code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) definition code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) , getAccessibleChild sample code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) definition code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) , getAccessibleChildrenCount sample code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) , update sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

desktop sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktop

protected JDesktopPane sample code for javax.swing.JDesktopPane definition code for javax.swing.JDesktopPane  desktop

desktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.desktopManager

protected DesktopManager sample code for javax.swing.DesktopManager definition code for javax.swing.DesktopManager  desktopManager

minimizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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.


maximizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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.


closeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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.


navigateKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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 sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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.

Constructor Detail

BasicDesktopPaneUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI()

public BasicDesktopPaneUI()
Method Detail

createUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createUI(javax.swing.JComponent)

public static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI  createUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)

installUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installUI(javax.swing.JComponent)

public void installUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent)
Configures the specified component appropriate for the look and feel. This method is invoked when the ComponentUI instance is being installed as the UI delegate on the specified component. This method should completely configure the component for the look and feel, including the following:
  1. Install any default property values for color, fonts, borders, icons, opacity, etc. on the component. Whenever possible, property values initialized by the client program should not be overridden.
  2. Install a LayoutManager on the component if necessary.
  3. Create/add any required sub-components to the component.
  4. Create/install event listeners on the component.
  5. Create/install a PropertyChangeListener on the component in order to detect and respond to component property changes appropriately.
  6. Install keyboard UI (mnemonics, traversal, etc.) on the component.
  7. Initialize any appropriate instance data.

Overrides:
installUI sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component where this UI delegate is being installed
See Also:
ComponentUI.uninstallUI(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) , JComponent.setUI(javax.swing.plaf.ComponentUI) sample code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) definition code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) , JComponent.updateUI() sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI()

uninstallUI sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallUI(javax.swing.JComponent)

public void uninstallUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent)
Reverses configuration which was done on the specified component during installUI. This method is invoked when this UIComponent instance is being removed as the UI delegate for the specified component. This method should undo the configuration performed in installUI, being careful to leave the JComponent instance in a clean state (no extraneous listeners, look-and-feel-specific property objects, etc.). This should include the following:
  1. Remove any UI-set borders from the component.
  2. Remove any UI-set layout managers on the component.
  3. Remove any UI-added sub-components from the component.
  4. Remove any UI-added event/property listeners from the component.
  5. Remove any UI-installed keyboard UI from the component.
  6. Nullify any allocated instance data objects to allow for GC.

Overrides:
uninstallUI sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.installUI(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) , JComponent.updateUI() sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI()

installDefaults sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDefaults() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDefaults()

protected void installDefaults()

uninstallDefaults sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDefaults()

protected void uninstallDefaults()

installListeners sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installListeners() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installListeners()

protected void installListeners()
Installs the PropertyChangeListener returned from createPropertyChangeListener on the JDesktopPane.

Since:
1.5
See Also:
createPropertyChangeListener() sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener()

uninstallListeners sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallListeners()

protected void uninstallListeners()
Uninstalls the PropertyChangeListener returned from createPropertyChangeListener from the JDesktopPane.

Since:
1.5
See Also:
createPropertyChangeListener() sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener()

installDesktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDesktopManager() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installDesktopManager()

protected void installDesktopManager()

uninstallDesktopManager sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDesktopManager() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallDesktopManager()

protected void uninstallDesktopManager()

installKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.installKeyboardActions()

protected void installKeyboardActions()

registerKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.registerKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.registerKeyboardActions()

protected void registerKeyboardActions()

unregisterKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.unregisterKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.unregisterKeyboardActions()

protected void unregisterKeyboardActions()

uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.uninstallKeyboardActions()

protected void uninstallKeyboardActions()

paint sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.paint(java.awt.Graphics, javax.swing.JComponent)

public void paint(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g,
                  JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
Paints the specified component appropriate for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component.

Overrides:
paint sample code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
g - the Graphics context in which to paint
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

getPreferredSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getPreferredSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getPreferredSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent)
Returns the specified component's preferred size appropriate for the look and feel. If null is returned, the preferred size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method returns null.

Overrides:
getPreferredSize sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
JComponent.getPreferredSize() sample code for javax.swing.JComponent.getPreferredSize() definition code for javax.swing.JComponent.getPreferredSize() , LayoutManager.preferredLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container)

getMinimumSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMinimumSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMinimumSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent)
Returns the specified component's minimum size appropriate for the look and feel. If null is returned, the minimum size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method invokes getPreferredSize and returns that value.

Overrides:
getMinimumSize sample code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
Returns:
a Dimension object or null
See Also:
JComponent.getMinimumSize() sample code for javax.swing.JComponent.getMinimumSize() definition code for javax.swing.JComponent.getMinimumSize() , LayoutManager.minimumLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager.minimumLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager.minimumLayoutSize(java.awt.Container) , ComponentUI.getPreferredSize(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent)

getMaximumSize sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.getMaximumSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMaximumSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent)
Returns the specified component's maximum size appropriate for the look and feel. If null is returned, the maximum size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method invokes getPreferredSize and returns that value.

Overrides:
getMaximumSize sample code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
Returns:
a Dimension object or null
See Also:
JComponent.getMaximumSize() sample code for javax.swing.JComponent.getMaximumSize() definition code for javax.swing.JComponent.getMaximumSize() , LayoutManager2.maximumLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container)

createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.createPropertyChangeListener()

protected PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  createPropertyChangeListener()
Returns the PropertyChangeListener to install on the JDesktopPane.

Returns:
The PropertyChangeListener that will be added to track changes in the desktop pane.
Since:
1.5