This component represents an iconified version of a JInternalFrame. This API should NOT BE USED by Swing applications, as it will go away in future versions of Swing as its functionality is moved into JInternalFrame. This class is public only so that UI objects can display a desktop icon. If an application wants to display a desktop icon, it should create a JInternalFrame instance and iconify it.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
This component represents an iconified version of a JInternalFrame. This API should NOT BE USED by Swing applications, as it will go away in future versions of Swing as its functionality is moved into JInternalFrame. This class is public only so that UI objects can display a desktop icon. If an application wants to display a desktop icon, it should create a JInternalFrame instance and iconify it. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
(->j-desktop-icon f)
Constructor.
Creates an icon for an internal frame.
f - the JInternalFrame for which the icon is created - javax.swing.JInternalFrame
Constructor. Creates an icon for an internal frame. f - the JInternalFrame for which the icon is created - `javax.swing.JInternalFrame`
(get-accessible-context this)
Gets the AccessibleContext associated with this JDesktopIcon. For desktop icons, the AccessibleContext takes the form of an AccessibleJDesktopIcon. A new AccessibleJDesktopIcon instance is created if necessary.
returns: an AccessibleJDesktopIcon that serves as the
AccessibleContext of this JDesktopIcon - javax.accessibility.AccessibleContext
Gets the AccessibleContext associated with this JDesktopIcon. For desktop icons, the AccessibleContext takes the form of an AccessibleJDesktopIcon. A new AccessibleJDesktopIcon instance is created if necessary. returns: an AccessibleJDesktopIcon that serves as the AccessibleContext of this JDesktopIcon - `javax.accessibility.AccessibleContext`
(get-desktop-pane this)
Convenience method to ask the icon for the Desktop object it belongs to.
returns: the JDesktopPane that contains this
icon's internal frame, or null if none found - javax.swing.JDesktopPane
Convenience method to ask the icon for the Desktop object it belongs to. returns: the JDesktopPane that contains this icon's internal frame, or null if none found - `javax.swing.JDesktopPane`
(get-internal-frame this)
Returns the JInternalFrame that this DesktopIcon is associated with.
returns: the JInternalFrame with which this icon
is associated - javax.swing.JInternalFrame
Returns the JInternalFrame that this DesktopIcon is associated with. returns: the JInternalFrame with which this icon is associated - `javax.swing.JInternalFrame`
(get-ui this)
Returns the look-and-feel object that renders this component.
returns: the DesktopIconUI object that renders
this component - javax.swing.plaf.DesktopIconUI
Returns the look-and-feel object that renders this component. returns: the DesktopIconUI object that renders this component - `javax.swing.plaf.DesktopIconUI`
(get-ui-class-id this)
Returns the name of the look-and-feel class that renders this component.
returns: the string "DesktopIconUI" - java.lang.String
Returns the name of the look-and-feel class that renders this component. returns: the string "DesktopIconUI" - `java.lang.String`
(set-internal-frame this f)
Sets the JInternalFrame with which this DesktopIcon is associated.
f - the JInternalFrame with which this icon is associated - javax.swing.JInternalFrame
Sets the JInternalFrame with which this DesktopIcon is associated. f - the JInternalFrame with which this icon is associated - `javax.swing.JInternalFrame`
(set-ui this ui)
Sets the look-and-feel object that renders this component.
ui - the DesktopIconUI look-and-feel object - javax.swing.plaf.DesktopIconUI
Sets the look-and-feel object that renders this component. ui - the DesktopIconUI look-and-feel object - `javax.swing.plaf.DesktopIconUI`
(update-ui this)
Notification from the UIManager that the look and feel has changed. Replaces the current UI object with the latest version from the UIManager.
Notification from the UIManager that the look and feel has changed. Replaces the current UI object with the latest version from the UIManager.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close