Class RadianceBandControlPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BandControlPanelUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BasicBandControlPanelUI
org.pushingpixels.radiance.component.internal.theming.ribbon.ui.RadianceBandControlPanelUI
UI for
JBandControlPanel components in Radiance look and
feel.- Author:
- Kirill Grouchnikov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected AbstractBandControlPanelThe associated control panel.static final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent comp) intReturns the layout gap for the controls in the associated control panel.protected voidInstalls default parameters on the associated control panel of a ribbon band.voidvoidpaint(Graphics g, JComponent c) protected voidUninstalls default parameters from the associated control panel.voidvoidupdate(Graphics g, JComponent c) Methods inherited from class BasicBandControlPanelUI
createLayoutManager, installComponents, installListeners, syncGroupHeaders, uninstallComponents, uninstallListenersMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
-
Field Details
-
controlPanel
The associated control panel. -
TOP_ROW
- See Also:
-
MID_ROW
- See Also:
-
BOTTOM_ROW
- See Also:
-
-
Method Details
-
createUI
-
update
- Overrides:
updatein classBandControlPanelUI
-
paint
- Overrides:
paintin classComponentUI
-
installUI
- Overrides:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
installDefaults
protected void installDefaults()Installs default parameters on the associated control panel of a ribbon band. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls default parameters from the associated control panel. -
getLayoutGap
public int getLayoutGap()Description copied from class:BandControlPanelUIReturns the layout gap for the controls in the associated control panel.- Specified by:
getLayoutGapin classBandControlPanelUI- Returns:
- The layout gap for the controls in the associated control panel.
-