org.pushingpixels.flamingo.internal.ui.ribbon
public class BasicFlowBandControlPanelUI extends BandControlPanelUI
JBandControlPanel
.Modifier and Type | Field and Description |
---|---|
static String |
BOTTOM_ROW |
protected AbstractBandControlPanel |
controlPanel
The associated control panel.
|
protected JCommandButton |
dummy |
static String |
MID_ROW |
static String |
TOP_ROW |
Constructor and Description |
---|
BasicFlowBandControlPanelUI() |
Modifier and Type | Method and 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 |
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 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
.public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installListeners()
protected void uninstallListeners()
protected void installComponents()
protected void uninstallComponents()
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