Class RadianceCommandButtonPanelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.pushingpixels.radiance.component.internal.ui.common.CommandButtonPanelUI
-
- org.pushingpixels.radiance.component.internal.ui.common.BasicCommandButtonPanelUI
-
- org.pushingpixels.radiance.component.internal.theming.common.ui.RadianceCommandButtonPanelUI
-
public class RadianceCommandButtonPanelUI extends BasicCommandButtonPanelUI
UI forJCommandButtonPanelcomponents in Radiance look and feel.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicCommandButtonPanelUI
BasicCommandButtonPanelUI.ColumnFillLayout, BasicCommandButtonPanelUI.RowFillLayout
-
-
Field Summary
-
Fields inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicCommandButtonPanelUI
buttonPanel, groupLabels, SKIP_BACKGROUND_FILL
-
-
Constructor Summary
Constructors Modifier Constructor Description privateRadianceCommandButtonPanelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)protected intgetGroupTitleHeight(int groupIndex)Returns the height of the group title strip.protected voidpaintGroupBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)Paints the background of the specified button panel group.protected voidpaintGroupTitleBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)Paints the background of the title of specified button panel group.voidupdate(java.awt.Graphics g, javax.swing.JComponent c)-
Methods inherited from class org.pushingpixels.radiance.component.internal.ui.common.BasicCommandButtonPanelUI
focusDown, focusFirst, focusLast, focusLeft, focusRight, focusUp, getPreferredHeight, hasFocus, installComponents, installDefaults, installListeners, installUI, paint, scrollToSelectedCommand, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
getGroupTitleHeight
protected int getGroupTitleHeight(int groupIndex)
Description copied from class:BasicCommandButtonPanelUIReturns the height of the group title strip.- Specified by:
getGroupTitleHeightin classBasicCommandButtonPanelUI- Parameters:
groupIndex- Group index.- Returns:
- The height of the title strip of the specified group.
-
paintGroupBackground
protected void paintGroupBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)Description copied from class:BasicCommandButtonPanelUIPaints the background of the specified button panel group.- Specified by:
paintGroupBackgroundin classBasicCommandButtonPanelUI- Parameters:
g- Graphics context.groupIndex- Group index.x- X coordinate of the button group bounds.y- Y coordinate of the button group bounds.width- Width of the button group bounds.height- Height of the button group bounds.
-
paintGroupTitleBackground
protected void paintGroupTitleBackground(java.awt.Graphics g, int groupIndex, int x, int y, int width, int height)Description copied from class:BasicCommandButtonPanelUIPaints the background of the title of specified button panel group.- Specified by:
paintGroupTitleBackgroundin classBasicCommandButtonPanelUI- Parameters:
g- Graphics context.groupIndex- Group index.x- X coordinate of the button group title bounds.y- Y coordinate of the button group title bounds.width- Width of the button group title bounds.height- Height of the button group title bounds.
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
updatein classjavax.swing.plaf.ComponentUI
-
-