|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.pushingpixels.flamingo.internal.ui.ribbon.BandControlPanelUI
org.pushingpixels.flamingo.internal.ui.ribbon.BasicFlowBandControlPanelUI
public class BasicFlowBandControlPanelUI
Basic UI for control panel of ribbon band JBandControlPanel
.
Field Summary | |
---|---|
static String |
BOTTOM_ROW
|
protected AbstractBandControlPanel |
controlPanel
The associated control panel. |
protected JCommandButton |
dummy
|
static String |
MID_ROW
|
static String |
TOP_ROW
|
Constructor Summary | |
---|---|
BasicFlowBandControlPanelUI()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractBandControlPanel controlPanel
protected JCommandButton dummy
public static final String TOP_ROW
public static final String MID_ROW
public static final String BOTTOM_ROW
Constructor Detail |
---|
public BasicFlowBandControlPanelUI()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |