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
-
public class BasicCommandButtonStripUI extends CommandButtonStripUI
Basic UI for button stripJCommandButtonStrip
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
BasicCommandButtonStripUI.ButtonStripLayout
Layout for the button strip.
-
Field Summary
Fields Modifier and Type Field Description private JCommandButtonStrip
buttonStrip
The associated button strip.private java.util.Map<Command,JCommandButton>
commandButtonMap
private CommandGroup.CommandGroupListener
commandGroupListener
-
Constructor Summary
Constructors Constructor Description BasicCommandButtonStripUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.LayoutManager
createLayoutManager()
Invoked byinstallUI
to create a layout manager object to manage theJCommandButtonStrip
.static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
java.util.List<javax.swing.JComponent>
getFocusSequence()
protected void
installComponents()
Installs subcomponents on the associated button strip.protected void
installDefaults()
Installs defaults on the associated button strip.protected void
installListeners()
Installs listeners on the associated button strip.void
installUI(javax.swing.JComponent c)
private void
syncButtons()
protected void
uninstallComponents()
Uninstalls subcomponents from the associated ribbon.protected void
uninstallDefaults()
Uninstalls defaults from the associated button strip.protected void
uninstallListeners()
Uninstalls listeners from the associated button strip.void
uninstallUI(javax.swing.JComponent c)
-
-
-
Field Detail
-
buttonStrip
private JCommandButtonStrip buttonStrip
The associated button strip.
-
commandGroupListener
private CommandGroup.CommandGroupListener commandGroupListener
-
commandButtonMap
private java.util.Map<Command,JCommandButton> commandButtonMap
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in classjavax.swing.plaf.ComponentUI
-
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
public java.util.List<javax.swing.JComponent> getFocusSequence()
- Specified by:
getFocusSequence
in classCommandButtonStripUI
-
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
Invoked byinstallUI
to create a layout manager object to manage theJCommandButtonStrip
.- Returns:
- a layout manager object
-
-