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 class
Layout for the button strip. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JCommandButtonStrip
The associated button strip.private Map
<Command, JCommandButton> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManager
Invoked byinstallUI
to create a layout manager object to manage theJCommandButtonStrip
.static ComponentUI
protected void
Installs subcomponents on the associated button strip.protected void
Installs defaults on the associated button strip.protected void
Installs listeners on the associated button strip.void
private void
protected void
Uninstalls subcomponents from the associated ribbon.protected void
Uninstalls defaults from the associated button strip.protected void
Uninstalls listeners from the associated button strip.void
Methods inherited from class javax.swing.plaf.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:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in 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:
getFocusSequence
in classCommandButtonStripUI
-
createLayoutManager
Invoked byinstallUI
to create a layout manager object to manage theJCommandButtonStrip
.- Returns:
- a layout manager object
-