public class BasicBandControlPanelUI extends BandControlPanelUI
JBandControlPanel
.Modifier and Type | Field | Description |
---|---|---|
static String |
BOTTOM_ROW |
|
protected ChangeListener |
changeListener |
|
protected AbstractBandControlPanel |
controlPanel |
The associated control panel.
|
protected JCommandButton |
dummy |
|
static String |
MID_ROW |
|
static String |
TOP_ROW |
Constructor | Description |
---|---|
BasicBandControlPanelUI() |
Modifier and Type | Method | Description |
---|---|---|
protected LayoutManager |
createLayoutManager() |
Invoked by
installUI to create a layout manager object to
manage the JBandControlPanel . |
static ComponentUI |
createUI(JComponent c) |
|
int |
getLayoutGap() |
Returns the layout gap for the controls in the associated control panel.
|
protected void |
installComponents() |
Installs components on the associated control panel of a ribbon band.
|
protected void |
installDefaults() |
Installs default parameters on the associated control panel of a ribbon
band.
|
protected void |
installListeners() |
Installs listeners on the associated control panel of a ribbon band.
|
void |
installUI(JComponent c) |
|
void |
paint(Graphics g,
JComponent c) |
|
protected void |
paintBandBackground(Graphics graphics,
Rectangle toFill) |
Paints band background.
|
protected void |
syncGroupHeaders() |
|
protected void |
uninstallComponents() |
Uninstalls components from the associated control panel of a ribbon band.
|
protected void |
uninstallDefaults() |
Uninstalls default parameters from the associated control panel.
|
protected void |
uninstallListeners() |
Uninstalls listeners from the associated control panel of a ribbon band.
|
void |
uninstallUI(JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
protected ChangeListener changeListener
protected AbstractBandControlPanel controlPanel
protected JCommandButton dummy
public static final String TOP_ROW
public static final String MID_ROW
public static final String BOTTOM_ROW
public static ComponentUI createUI(JComponent c)
protected LayoutManager createLayoutManager()
installUI
to create a layout manager object to
manage the JBandControlPanel
.protected void installListeners()
protected void uninstallListeners()
protected void installComponents()
protected void uninstallComponents()
protected void syncGroupHeaders()
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void uninstallDefaults()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
protected void paintBandBackground(Graphics graphics, Rectangle toFill)
graphics
- Graphics context.toFill
- Rectangle for the background.public int getLayoutGap()
BandControlPanelUI
getLayoutGap
in class BandControlPanelUI