| Modifier and Type | Class and Description |
|---|---|
| protected class | |
| protected class | |
| protected class | |
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| protected Icon | |
| pack-priv static final Font | |
| protected MotifDesktopIconUI. | |
| protected MotifDesktopIconUI. | |
| protected MotifDesktopIconUI. | |
| protected MotifDesktopIconUI. | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv EventListener | |
| private MotifInternalFrameTitlePane | |
| pack-priv JPopupMenu |
| Access | Constructor and Description |
|---|---|
| public |
| defaultIcon | back to summary |
|---|---|
| protected Icon defaultIcon | |
| defaultTitleFont | back to summary |
|---|---|
| pack-priv static final Font defaultTitleFont | |
| desktopIconActionListener | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| desktopIconMouseListener | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| iconButton | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| iconLabel | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| LABEL_DIVIDER | back to summary |
|---|---|
| pack-priv static final int LABEL_DIVIDER | |
| LABEL_HEIGHT | back to summary |
|---|---|
| pack-priv static final int LABEL_HEIGHT | |
| mml | back to summary |
|---|---|
| pack-priv EventListener mml | |
| sysMenuTitlePane | back to summary |
|---|---|
| private MotifInternalFrameTitlePane sysMenuTitlePane | |
| systemMenu | back to summary |
|---|---|
| pack-priv JPopupMenu systemMenu | |
| MotifDesktopIconUI | back to summary |
|---|---|
| public MotifDesktopIconUI() | |
| createDesktopIconActionListener | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| createDesktopIconMouseListener | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| createIconButton | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| createIconLabel | back to summary |
|---|---|
| protected MotifDesktopIconUI. | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Doc from javax. Constructs a new instance of | |
| getDefaultIcon | back to summary |
|---|---|
| public Icon getDefaultIcon() Returns the default desktop icon. | |
| getDesktopIcon | back to summary |
|---|---|
| pack-priv JInternalFrame. | |
| getFrame | back to summary |
|---|---|
| pack-priv JInternalFrame getFrame() | |
| getMaximumSize | back to summary |
|---|---|
| public Dimension getMaximumSize(JComponent c) Overrides javax. Doc from javax. Desktop icons can not be resized. Therefore, we should always return the minimum size of the desktop icon.
| |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's minimum size appropriate for
the look and feel. If
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's preferred size appropriate for
the look and feel. If
| |
| hideSystemMenu | back to summary |
|---|---|
| protected void hideSystemMenu() | |
| installComponents | back to summary |
|---|---|
| protected void installComponents() Overrides javax. Doc from javax. Registers components.
| |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Overrides javax. Doc from javax. Installs default properties.
| |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Overrides javax. Doc from javax. Registers listeners.
| |
| setDefaultIcon | back to summary |
|---|---|
| public void setDefaultIcon(Icon newIcon) Sets the icon used as the default desktop icon. | |
| setDesktopIcon | back to summary |
|---|---|
| pack-priv void setDesktopIcon(JInternalFrame. | |
| setFrame | back to summary |
|---|---|
| pack-priv void setFrame(JInternalFrame f) | |
| showSystemMenu | back to summary |
|---|---|
| protected void showSystemMenu() | |
| uninstallComponents | back to summary |
|---|---|
| protected void uninstallComponents() Overrides javax. Doc from javax. Unregisters components.
| |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Overrides javax. Doc from javax. Uninstalls default properties.
| |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Overrides javax. Doc from javax. Unregisters listeners.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent e)
Implements java. Invoked when an action occurs. |
| DesktopIconActionListener | back to summary |
|---|---|
| protected DesktopIconActionListener() | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent e) Implements java. Doc from java. Invoked when an action occurs.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | mousePressed(MouseEvent e)
Overrides java. Implements java. Invoked when a mouse button has been pressed on a component. |
| DesktopIconMouseListener | back to summary |
|---|---|
| protected DesktopIconMouseListener() | |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent e) Overrides java. Implements java. Doc from java. Invoked when a mouse button has been pressed on a component.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public boolean | isFocusTraversable()
Overrides java. Returns whether this |
| icon | back to summary |
|---|---|
| pack-priv Icon icon | |
| IconButton | back to summary |
|---|---|
| pack-priv IconButton(Icon icon) | |
| forwardEventToParent | back to summary |
|---|---|
pack-priv void forwardEventToParent(MouseEvent e)
| |
| isFocusTraversable | back to summary |
|---|---|
| public boolean isFocusTraversable() Overrides java. Doc from java. Returns whether this
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JInternalFrame |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public Dimension | getMinimumSize()
Overrides javax. If the minimum size has been set to a non- |
| public Dimension | getPreferredSize()
Overrides javax. If the |
| public boolean | isFocusTraversable()
Overrides java. Returns whether this |
| public void |
| frame | back to summary |
|---|---|
| pack-priv JInternalFrame frame | |
| IconLabel | back to summary |
|---|---|
| pack-priv IconLabel(JInternalFrame f) | |
| forwardEventToParent | back to summary |
|---|---|
pack-priv void forwardEventToParent(MouseEvent e)
| |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize() Overrides javax. Doc from javax. If the minimum size has been set to a non-
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize() Overrides javax. Doc from javax. If the
| |
| isFocusTraversable | back to summary |
|---|---|
| public boolean isFocusTraversable() Overrides java. Doc from java. Returns whether this
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g) Overrides javax. Doc from javax. Invoked by Swing to draw components.
Applications should not invoke
This method actually delegates the work of painting to three
protected methods:
| |