Class AbstractRibbonBand

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.pushingpixels.radiance.component.api.ribbon.AbstractRibbonBand
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
JFlowRibbonBand, JRibbonBand

public abstract class AbstractRibbonBand extends JComponent
Ribbon band. Is part of a logical RibbonTask. This is an abstract base class for two types of ribbon bands - flow in JFlowRibbonBand and general in JRibbonBand.

This class provides the following common functionality:

  • Tracking the available and current resize policies.
  • Tracking the collapsed state of the ribbon band - when there is not enough horizontal space to show this panel under the smallest resize setting (see RibbonBandResizePolicy and CoreRibbonResizePolicies) - the band content is replaced by one collapsed button. When that button is activated, the original ribbon band content is shown in a popup panel.
  • Associating key tip and rich tooltip with the expand button of the ribbon band.
  • Associating key tip with the collapsed button of the ribbon band.
See Also: