public class BasicFlowBandControlPanelUI extends BandControlPanelUI
JBandControlPanel
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOTTOM_ROW |
protected AbstractBandControlPanel |
controlPanel
The associated control panel.
|
protected JCommandButton |
dummy |
static java.lang.String |
MID_ROW |
static java.lang.String |
TOP_ROW |
Constructor and Description |
---|
BasicFlowBandControlPanelUI() |
Modifier and Type | Method and Description |
---|---|
protected java.awt.LayoutManager |
createLayoutManager()
Invoked by
installUI to create a layout manager object to
manage the JBandControlPanel . |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.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(javax.swing.JComponent c) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected void |
paintBandBackground(java.awt.Graphics graphics,
java.awt.Rectangle toFill)
Paints band background.
|
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(javax.swing.JComponent c) |
protected AbstractBandControlPanel controlPanel
protected JCommandButton dummy
public static final java.lang.String TOP_ROW
public static final java.lang.String MID_ROW
public static final java.lang.String BOTTOM_ROW
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected java.awt.LayoutManager createLayoutManager()
installUI
to create a layout manager object to
manage the JBandControlPanel
.public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
protected void installListeners()
protected void uninstallListeners()
protected void installComponents()
protected void uninstallComponents()
protected void installDefaults()
protected void uninstallDefaults()
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.ComponentUI
protected void paintBandBackground(java.awt.Graphics graphics, java.awt.Rectangle toFill)
graphics
- Graphics context.toFill
- Rectangle for the background.public int getLayoutGap()
BandControlPanelUI
getLayoutGap
in class BandControlPanelUI