public class SubstanceCommandButtonPanelUI extends BasicCommandButtonPanelUI
JCommandButtonPanel components in Substance look and
feel.BasicCommandButtonPanelUI.ColumnFillLayout, BasicCommandButtonPanelUI.RowFillLayoutbuttonPanel, changeListener, GROUP_INSETS, groupLabels, groupRects, propertyChangeListener| Constructor | Description |
|---|---|
SubstanceCommandButtonPanelUI() |
| Modifier and Type | Method | Description |
|---|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp) |
|
protected java.awt.Insets |
getGroupInsets() |
Returns the insets of button panel groups.
|
protected int |
getGroupTitleHeight(int groupIndex) |
Returns the height of the group title strip.
|
protected void |
paintGroupBackground(java.awt.Graphics g,
int groupIndex,
int x,
int y,
int width,
int height) |
Paints the background of the specified button panel group.
|
protected void |
paintGroupTitleBackground(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.
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
createLayoutManager, getLayoutGap, getPreferredHeight, installComponents, installDefaults, installListeners, installUI, paint, recomputeGroupHeaders, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
protected java.awt.Insets getGroupInsets()
BasicCommandButtonPanelUIgetGroupInsets in class BasicCommandButtonPanelUIprotected int getGroupTitleHeight(int groupIndex)
BasicCommandButtonPanelUIgetGroupTitleHeight in class BasicCommandButtonPanelUIgroupIndex - Group index.protected void paintGroupBackground(java.awt.Graphics g,
int groupIndex,
int x,
int y,
int width,
int height)
BasicCommandButtonPanelUIpaintGroupBackground in class BasicCommandButtonPanelUIg - 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.protected void paintGroupTitleBackground(java.awt.Graphics g,
int groupIndex,
int x,
int y,
int width,
int height)
BasicCommandButtonPanelUIpaintGroupTitleBackground in class BasicCommandButtonPanelUIg - 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.public void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class javax.swing.plaf.ComponentUI