Class BasicCommandButtonStripUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonStripUI
org.pushingpixels.radiance.component.internal.ui.common.BasicCommandButtonStripUI
Basic UI for button strip
JCommandButtonStrip.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classLayout for the button strip. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JCommandButtonStripThe associated button strip.private Map<Command, JCommandButton> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManagerInvoked byinstallUIto create a layout manager object to manage theJCommandButtonStrip.static ComponentUIprotected voidInstalls subcomponents on the associated button strip.protected voidInstalls defaults on the associated button strip.protected voidInstalls listeners on the associated button strip.voidprivate voidprotected voidUninstalls subcomponents from the associated ribbon.protected voidUninstalls defaults from the associated button strip.protected voidUninstalls listeners from the associated button strip.voidMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Field Details
-
buttonStrip
The associated button strip. -
commandGroupListener
-
commandButtonMap
-
-
Constructor Details
-
BasicCommandButtonStripUI
public BasicCommandButtonStripUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
installListeners
protected void installListeners()Installs listeners on the associated button strip. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated button strip. -
installDefaults
protected void installDefaults()Installs defaults on the associated button strip. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls defaults from the associated button strip. -
installComponents
protected void installComponents()Installs subcomponents on the associated button strip. -
uninstallComponents
protected void uninstallComponents()Uninstalls subcomponents from the associated ribbon. -
syncButtons
private void syncButtons() -
getFocusSequence
- Specified by:
getFocusSequencein classCommandButtonStripUI
-
createLayoutManager
Invoked byinstallUIto create a layout manager object to manage theJCommandButtonStrip.- Returns:
- a layout manager object
-