java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.DesktopIconUI
javax.swing.plaf.basic.BasicDesktopIconUI
org.gtk.java.swing.plaf.gtk.GtkDesktopIconUI
- public class GtkDesktopIconUI
- extends javax.swing.plaf.basic.BasicDesktopIconUI
Gtk rendition of the component.
- Version:
- 1.15 08/26/98
| Nested classes inherited from class javax.swing.plaf.basic.BasicDesktopIconUI |
javax.swing.plaf.basic.BasicDesktopIconUI.MouseInputHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
desktopIconActionListener
protected GtkDesktopIconUI.DesktopIconActionListener desktopIconActionListener
desktopIconMouseListener
protected GtkDesktopIconUI.DesktopIconMouseListener desktopIconMouseListener
defaultIcon
protected javax.swing.Icon defaultIcon
iconButton
protected GtkDesktopIconUI.IconButton iconButton
iconLabel
protected GtkDesktopIconUI.IconLabel iconLabel
systemMenu
javax.swing.JPopupMenu systemMenu
mml
java.util.EventListener mml
LABEL_HEIGHT
static final int LABEL_HEIGHT
- See Also:
- Constant Field Values
LABEL_DIVIDER
static final int LABEL_DIVIDER
- See Also:
- Constant Field Values
defaultTitleFont
static final java.awt.Font defaultTitleFont
GtkDesktopIconUI
public GtkDesktopIconUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method creates a new BasicDesktopIconUI for the given JComponent.
installDefaults
protected void installDefaults()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method installs the defaults for the JDesktopIcon.
installComponents
protected void installComponents()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method installs the necessary sub components for the JDesktopIcon.
uninstallComponents
protected void uninstallComponents()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method uninstalls the sub components for the JDesktopIcon.
installListeners
protected void installListeners()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method installs the listeners needed by this UI.
getDesktopIcon
javax.swing.JInternalFrame.JDesktopIcon getDesktopIcon()
setDesktopIcon
void setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon d)
getFrame
javax.swing.JInternalFrame getFrame()
setFrame
void setFrame(javax.swing.JInternalFrame f)
showSystemMenu
protected void showSystemMenu()
hideSystemMenu
protected void hideSystemMenu()
createIconLabel
protected GtkDesktopIconUI.IconLabel createIconLabel(javax.swing.JInternalFrame frame)
createIconButton
protected GtkDesktopIconUI.IconButton createIconButton(javax.swing.Icon i)
createDesktopIconActionListener
protected GtkDesktopIconUI.DesktopIconActionListener createDesktopIconActionListener()
createDesktopIconMouseListener
protected GtkDesktopIconUI.DesktopIconMouseListener createDesktopIconMouseListener()
uninstallDefaults
protected void uninstallDefaults()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method uninstalls the defaults for the JDesktopIcon.
uninstallListeners
protected void uninstallListeners()
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method uninstalls the listeners needed by the UI.
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method returns the minimum size for the given JComponent.
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method returns the preferred size for the given JComponent.
getMaximumSize
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
- Description copied from class:
javax.swing.plaf.basic.BasicDesktopIconUI
- This method returns the maximum size for the given JComponent.
getDefaultIcon
public javax.swing.Icon getDefaultIcon()
- Returns the default desktop icon.
setDefaultIcon
public void setDefaultIcon(javax.swing.Icon newIcon)
- Sets the icon used as the default desktop icon.