This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.basic
class BasicDesktopIconUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.DesktopIconUI extended by javax.swing.plaf.basic.BasicDesktopIconUI
Direct Known Subclasses:
MetalDesktopIconUI

public class BasicDesktopIconUI
extends DesktopIconUI

Basic L&F for a minimized window on a desktop.


Nested Class Summary
 class

           Listens for mouse movements and acts on them.
 
Field Summary
protected JInternalFrame.JDesktopIcon desktopIcon
          
protected JInternalFrame frame
          
protected JComponent iconPane
          The title pane component used in the desktop icon.
 
Constructor Summary

          
 
Method Summary
protected MouseInputListener

          
static ComponentUI

          
 void

          
 Insets

          
 Dimension

          Desktop icons can not be resized.
 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

          
 void

          Configures the specified component appropriate for the look and feel.
protected void

          
protected void

          
protected void

          
 void

          Reverses configuration which was done on the specified component during installUI.
 
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

desktopIcon

protected JInternalFrame.JDesktopIcon desktopIcon

frame

protected JInternalFrame frame

iconPane

protected JComponent iconPane
The title pane component used in the desktop icon.
Constructor Detail

BasicDesktopIconUI

public BasicDesktopIconUI()
Method Detail

createMouseInputListener

protected MouseInputListener createMouseInputListener()

createUI

public static ComponentUI createUI(JComponent c)
Parameters:
c

deiconize

public void deiconize()

getInsets

public Insets getInsets(JComponent c)
Parameters:
c

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Desktop icons can not be resized. Therefore, we should always return the minimum size of the desktop icon.

Overrides:
getMaximumSize in class ComponentUI
Parameters:
c

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
Parameters:
c

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
Parameters:
c

installComponents

protected void installComponents()

installDefaults

protected void installDefaults()

installListeners

protected void installListeners()

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
Parameters:
c

uninstallComponents

protected void uninstallComponents()

uninstallDefaults

protected void uninstallDefaults()

uninstallListeners

protected void uninstallListeners()

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
Parameters:
c


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.