com.limegroup.gnutella.gui
Class LimeButtonUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ButtonUI
          extended byjavax.swing.plaf.basic.BasicButtonUI
              extended bycom.limegroup.gnutella.gui.LimeButtonUI

public class LimeButtonUI
extends javax.swing.plaf.basic.BasicButtonUI

Handles the visual representation of JButton instances for the application.


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
LimeButtonUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates the ComponentUI instance for this class.
 void installUI(javax.swing.JComponent c)
          Installs the user interface elements for all future paint calls on this button.
static void themeChanged()
           
 void uninstallUI(javax.swing.JComponent c)
          Removes the UI stuff that was added to this component.
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, paint, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LimeButtonUI

public LimeButtonUI()
Method Detail

themeChanged

public static void themeChanged()

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates the ComponentUI instance for this class.

Parameters:
c - the component to create the ui for
Returns:
the specialized ComponentUI instance for handling the ui for this typr of component

installUI

public void installUI(javax.swing.JComponent c)
Installs the user interface elements for all future paint calls on this button.

Parameters:
c - the JComponent to install ui elements for, in this case a button

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Removes the UI stuff that was added to this component.