Class RadianceRibbonUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.RibbonUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonUI
org.pushingpixels.radiance.component.internal.theming.ribbon.ui.RadianceRibbonUI
UI for ribbon in Radiance look and feel.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
Panel for hosting task toggle buttons.Nested classes/interfaces inherited from class org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonUI
BasicRibbonUI.TaskToggleButtonsHostPanel
-
Field Summary
Fields inherited from class org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonUI
applicationMenuButton, bandScrollablePanel, INTERNAL, ribbon, taskToggleButtons, taskToggleButtonsScrollablePanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicRibbonUI.TaskToggleButtonsHostPanel
static ComponentUI
createUI
(JComponent comp) protected int
Returns the layout gap for the tab buttons in the associated ribbon.protected void
Installs subcomponents on the associated ribbon.protected void
Installs defaults on the associated ribbon.protected void
Paints the ribbon background.protected void
protected void
Uninstalls defaults from the associated ribbon.Methods inherited from class org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonUI
createLayoutManager, getAnchoredCommandButtons, getApplicationMenuButton, getContextualTaskGroupBounds, getTaskToggleButtons, handleMouseWheelEvent, installListeners, installUI, isShowingScrollsForTaskToggleButtons, paint, uninstallComponents, uninstallListeners, uninstallUI, update
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
-
Constructor Details
-
RadianceRibbonUI
private RadianceRibbonUI()
-
-
Method Details
-
createUI
-
installDefaults
protected void installDefaults()Description copied from class:BasicRibbonUI
Installs defaults on the associated ribbon.- Overrides:
installDefaults
in classBasicRibbonUI
-
uninstallDefaults
protected void uninstallDefaults()Description copied from class:BasicRibbonUI
Uninstalls defaults from the associated ribbon.- Overrides:
uninstallDefaults
in classBasicRibbonUI
-
installComponents
protected void installComponents()Description copied from class:BasicRibbonUI
Installs subcomponents on the associated ribbon.- Overrides:
installComponents
in classBasicRibbonUI
-
createTaskToggleButtonsHostPanel
- Specified by:
createTaskToggleButtonsHostPanel
in classBasicRibbonUI
-
paintBackground
Description copied from class:BasicRibbonUI
Paints the ribbon background.- Specified by:
paintBackground
in classBasicRibbonUI
- Parameters:
g
- Graphics context.
-
getTabButtonGap
protected int getTabButtonGap()Description copied from class:BasicRibbonUI
Returns the layout gap for the tab buttons in the associated ribbon.- Overrides:
getTabButtonGap
in classBasicRibbonUI
- Returns:
- The layout gap for the tab buttons in the associated ribbon.
-
paintMinimizedRibbonSeparator
- Specified by:
paintMinimizedRibbonSeparator
in classBasicRibbonUI
-