org.pushingpixels.substance.flamingo.common.ui
Class SubstanceCommandButtonPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.pushingpixels.flamingo.internal.ui.common.CommandButtonPanelUI
              extended by org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI
                  extended by org.pushingpixels.substance.flamingo.common.ui.SubstanceCommandButtonPanelUI

public class SubstanceCommandButtonPanelUI
extends org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI

UI for JCommandButtonPanel components in Substance look and feel.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI
org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI.ColumnFillLayout, org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI.RowFillLayout
 
Field Summary
 
Fields inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI
buttonPanel, changeListener, GROUP_INSETS, groupLabels, groupRects, propertyChangeListener
 
Constructor Summary
SubstanceCommandButtonPanelUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
           
protected  java.awt.Insets getGroupInsets()
           
protected  int getGroupTitleHeight(int groupIndex)
           
protected  void paintGroupBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)
           
protected  void paintGroupTitleBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)
           
 void update(java.awt.Graphics g, javax.swing.JComponent c)
           
 
Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI
createLayoutManager, getLayoutGap, getPreferredHeight, installComponents, installDefaults, installListeners, installUI, paint, recomputeGroupHeaders, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceCommandButtonPanelUI

public SubstanceCommandButtonPanelUI()
Method Detail

createUI

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

getGroupInsets

protected java.awt.Insets getGroupInsets()
Overrides:
getGroupInsets in class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI

getGroupTitleHeight

protected int getGroupTitleHeight(int groupIndex)
Overrides:
getGroupTitleHeight in class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI

paintGroupBackground

protected void paintGroupBackground(java.awt.Graphics g,
                                    int groupIndex,
                                    int x,
                                    int y,
                                    int width,
                                    int height)
Overrides:
paintGroupBackground in class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI

paintGroupTitleBackground

protected void paintGroupTitleBackground(java.awt.Graphics g,
                                         int groupIndex,
                                         int x,
                                         int y,
                                         int width,
                                         int height)
Overrides:
paintGroupTitleBackground in class org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI

update

public void update(java.awt.Graphics g,
                   javax.swing.JComponent c)
Overrides:
update in class javax.swing.plaf.ComponentUI