Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gtk.java.swing.plaf.gtk
Class GtkDesktopIconUI  view GtkDesktopIconUI download GtkDesktopIconUI.java

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.DesktopIconUI
          extended byjavax.swing.plaf.basic.BasicDesktopIconUI
              extended byorg.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 Class Summary
protected  class GtkDesktopIconUI.DesktopIconActionListener
           
protected  class GtkDesktopIconUI.DesktopIconMouseListener
           
protected  class GtkDesktopIconUI.IconButton
           
protected  class GtkDesktopIconUI.IconLabel
           
 
Nested classes inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
javax.swing.plaf.basic.BasicDesktopIconUI.MouseInputHandler
 
Field Summary
protected  javax.swing.Icon defaultIcon
           
(package private) static java.awt.Font defaultTitleFont
           
protected  GtkDesktopIconUI.DesktopIconActionListener desktopIconActionListener
           
protected  GtkDesktopIconUI.DesktopIconMouseListener desktopIconMouseListener
           
protected  GtkDesktopIconUI.IconButton iconButton
           
protected  GtkDesktopIconUI.IconLabel iconLabel
           
(package private) static int LABEL_DIVIDER
           
(package private) static int LABEL_HEIGHT
           
(package private)  java.util.EventListener mml
           
(package private)  javax.swing.JPopupMenu systemMenu
           
 
Fields inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
desktopIcon, frame
 
Constructor Summary
GtkDesktopIconUI()
           
 
Method Summary
protected  GtkDesktopIconUI.DesktopIconActionListener createDesktopIconActionListener()
           
protected  GtkDesktopIconUI.DesktopIconMouseListener createDesktopIconMouseListener()
           
protected  GtkDesktopIconUI.IconButton createIconButton(javax.swing.Icon i)
           
protected  GtkDesktopIconUI.IconLabel createIconLabel(javax.swing.JInternalFrame frame)
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          This method creates a new BasicDesktopIconUI for the given JComponent.
 javax.swing.Icon getDefaultIcon()
          Returns the default desktop icon.
(package private)  javax.swing.JInternalFrame.JDesktopIcon getDesktopIcon()
           
(package private)  javax.swing.JInternalFrame getFrame()
           
 java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
          This method returns the maximum size for the given JComponent.
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
          This method returns the minimum size for the given JComponent.
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
          This method returns the preferred size for the given JComponent.
protected  void hideSystemMenu()
           
protected  void installComponents()
          This method installs the necessary sub components for the JDesktopIcon.
protected  void installDefaults()
          This method installs the defaults for the JDesktopIcon.
protected  void installListeners()
          This method installs the listeners needed by this UI.
 void setDefaultIcon(javax.swing.Icon newIcon)
          Sets the icon used as the default desktop icon.
(package private)  void setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon d)
           
(package private)  void setFrame(javax.swing.JInternalFrame f)
           
protected  void showSystemMenu()
           
protected  void uninstallComponents()
          This method uninstalls the sub components for the JDesktopIcon.
protected  void uninstallDefaults()
          This method uninstalls the defaults for the JDesktopIcon.
protected  void uninstallListeners()
          This method uninstalls the listeners needed by the UI.
 
Methods inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
createMouseInputListener, deiconize, getInsets, installUI, uninstallUI
 
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

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
Constructor Detail

GtkDesktopIconUI

public GtkDesktopIconUI()
Method Detail

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.