Class AbstractBandControlPanelUI
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.AbstractBandControlPanelUI
- Direct Known Subclasses:
BasicBandControlPanelUI, BasicFlowBandControlPanelUI
Basic UI for control panel of ribbon band
JBandControlPanel.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected AbstractBandControlPanelThe associated control panel.static final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LayoutManagerInvoked byinstallUIto create a layout manager object to manage theJBandControlPanel.intReturns the layout gap for the controls in the associated control panel.protected voidInstalls components on the associated control panel of a ribbon band.protected voidInstalls default parameters on the associated control panel of a ribbon band.protected voidInstalls listeners on the associated control panel of a ribbon band.voidprotected voidUninstalls components from the associated control panel of a ribbon band.protected voidUninstalls default parameters from the associated control panel.protected voidUninstalls listeners from the associated control panel of a ribbon band.voidMethods inherited from class BandControlPanelUI
updateMethods inherited from class ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint
-
Field Details
-
controlPanel
The associated control panel. -
TOP_ROW
- See Also:
-
MID_ROW
- See Also:
-
BOTTOM_ROW
- See Also:
-
-
Constructor Details
-
AbstractBandControlPanelUI
AbstractBandControlPanelUI()
-
-
Method Details
-
installUI
- Overrides:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
installListeners
protected void installListeners()Installs listeners on the associated control panel of a ribbon band. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated control panel of a ribbon band. -
installComponents
protected void installComponents()Installs components on the associated control panel of a ribbon band. -
uninstallComponents
protected void uninstallComponents()Uninstalls components from the associated control panel of a ribbon band. -
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. -
createLayoutManager
Invoked byinstallUIto create a layout manager object to manage theJBandControlPanel.- Returns:
- a layout manager object
-
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.
-