javax.swing
public static class JInternalFrame.JDesktopIcon extends JComponent implements Accessible
| Nested Class Summary | |
|---|---|
| protected class | JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon
Provides the accessibility features for the JDesktopIcon
component. |
| Constructor Summary | |
|---|---|
| JDesktopIcon(JInternalFrame f)
Creates a new JDesktopIcon object for representing the given frame.
| |
| Method Summary | |
|---|---|
| AccessibleContext | getAccessibleContext()
Returns the object that provides accessibility features for this
JDesktopIcon component.
|
| JDesktopPane | getDesktopPane()
This method returns the JDesktopPane this JDesktopIcon is in.
|
| JInternalFrame | getInternalFrame()
This method returns the JInternalFrame this JDesktopIcon represents.
|
| DesktopIconUI | getUI()
This method returns the UI that is responsible for the JDesktopIcon.
|
| String | getUIClassID()
This method returns the String identifier that is used to determine
which class is used for JDesktopIcon's UI.
|
| void | setInternalFrame(JInternalFrame f)
This method sets the JInternalFrame that this JDesktopIcon represents.
|
| void | setUI(DesktopIconUI ui)
This method sets the UI used for this JDesktopIcon.
|
| void | updateUI()
This method restores the UI property to the defaults. |
Parameters: f The JInternalFrame to represent.
JDesktopIcon component.
Returns: The accessible context (an instance of {@link AccessibleJDesktopIcon}).
Returns: The JDesktopPane this JDesktopIcon is in.
Returns: The JInternalFrame this JDesktopIcon represents.
Returns: The UI that is responsible for the JDesktopIcon.
Returns: A String identifier for the UI class.
Parameters: f The JInternalFrame that this JDesktopIcon represents.
Parameters: ui The UI to use.