站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class BasicDesktopIconUI - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

javax.swing.plaf.basic
Class BasicDesktopIconUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.DesktopIconUI
              |
              +--javax.swing.plaf.basic.BasicDesktopIconUI
Direct Known Subclasses:
MetalDesktopIconUI

public class BasicDesktopIconUI
extends DesktopIconUI

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


Inner Class Summary
 class BasicDesktopIconUI.MouseInputHandler
          Listens for mouse movements and acts on them.
 
Field Summary
protected  JInternalFrame.JDesktopIcon desktopIcon
           
protected  JInternalFrame frame
           
 
Constructor Summary
BasicDesktopIconUI()
           
 
Method Summary
protected  MouseInputListener createMouseInputListener()
           
static ComponentUI createUI(JComponent c)
           
 void deiconize()
           
 Insets getInsets(JComponent c)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, paint, 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
Constructor Detail

BasicDesktopIconUI

public BasicDesktopIconUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

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

uninstallUI

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

installComponents

protected void installComponents()

uninstallComponents

protected void uninstallComponents()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

createMouseInputListener

protected MouseInputListener createMouseInputListener()

getPreferredSize

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

getMinimumSize

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

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI

getInsets

public Insets getInsets(JComponent c)

deiconize

public void deiconize()

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.