org.pushingpixels.flamingo.internal.ui.common
Class BasicCommandButtonStripUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.pushingpixels.flamingo.internal.ui.common.CommandButtonStripUI
          extended by org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonStripUI

public class BasicCommandButtonStripUI
extends CommandButtonStripUI

Basic UI for button strip JCommandButtonStrip.


Field Summary
protected  JCommandButtonStrip buttonStrip
          The associated button strip.
protected  javax.swing.event.ChangeListener changeListener
           
 
Constructor Summary
BasicCommandButtonStripUI()
           
 
Method Summary
protected  java.awt.LayoutManager createLayoutManager()
          Invoked by installUI to create a layout manager object to manage the JCommandButtonStrip.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
protected  void installComponents()
          Installs subcomponents on the associated button strip.
protected  void installDefaults()
          Installs defaults on the associated button strip.
protected  void installListeners()
          Installs listeners on the associated button strip.
 void installUI(javax.swing.JComponent c)
           
protected  void uninstallComponents()
          Uninstalls subcomponents from the associated ribbon.
protected  void uninstallDefaults()
          Uninstalls defaults from the associated button strip.
protected  void uninstallListeners()
          Uninstalls listeners from the associated button strip.
 void uninstallUI(javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buttonStrip

protected JCommandButtonStrip buttonStrip
The associated button strip.


changeListener

protected javax.swing.event.ChangeListener changeListener
Constructor Detail

BasicCommandButtonStripUI

public BasicCommandButtonStripUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class javax.swing.plaf.ComponentUI

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI

installListeners

protected void installListeners()
Installs listeners on the associated button strip.


uninstallListeners

protected void uninstallListeners()
Uninstalls listeners from the associated button strip.


installDefaults

protected void installDefaults()
Installs defaults on the associated button strip.


uninstallDefaults

protected void uninstallDefaults()
Uninstalls defaults from the associated button strip.


installComponents

protected void installComponents()
Installs subcomponents on the associated button strip.


uninstallComponents

protected void uninstallComponents()
Uninstalls subcomponents from the associated ribbon.


createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Invoked by installUI to create a layout manager object to manage the JCommandButtonStrip.

Returns:
a layout manager object