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 classPanel for hosting task toggle buttons.Nested classes/interfaces inherited from class BasicRibbonUI
BasicRibbonUI.TaskToggleButtonsHostPanel -
Field Summary
Fields inherited from class BasicRibbonUI
applicationMenuButton, bandScrollablePanel, INTERNAL, ribbon, taskToggleButtons, taskToggleButtonsScrollablePanel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicRibbonUI.TaskToggleButtonsHostPanelstatic ComponentUIcreateUI(JComponent comp) protected intReturns the layout gap for the tab buttons in the associated ribbon.protected voidInstalls subcomponents on the associated ribbon.protected voidInstalls defaults on the associated ribbon.protected voidPaints the ribbon background.protected voidprotected voidUninstalls defaults from the associated ribbon.Methods inherited from class BasicRibbonUI
createLayoutManager, getAnchoredCommandButtons, getApplicationMenuButton, getContextualTaskGroupBounds, getTaskToggleButtons, handleMouseWheelEvent, installListeners, installUI, isShowingScrollsForTaskToggleButtons, paint, uninstallComponents, uninstallListeners, uninstallUI, updateMethods inherited from class 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:BasicRibbonUIInstalls defaults on the associated ribbon.- Overrides:
installDefaultsin classBasicRibbonUI
-
uninstallDefaults
protected void uninstallDefaults()Description copied from class:BasicRibbonUIUninstalls defaults from the associated ribbon.- Overrides:
uninstallDefaultsin classBasicRibbonUI
-
installComponents
protected void installComponents()Description copied from class:BasicRibbonUIInstalls subcomponents on the associated ribbon.- Overrides:
installComponentsin classBasicRibbonUI
-
createTaskToggleButtonsHostPanel
- Specified by:
createTaskToggleButtonsHostPanelin classBasicRibbonUI
-
paintBackground
Description copied from class:BasicRibbonUIPaints the ribbon background.- Specified by:
paintBackgroundin classBasicRibbonUI- Parameters:
g- Graphics context.
-
getTabButtonGap
protected int getTabButtonGap()Description copied from class:BasicRibbonUIReturns the layout gap for the tab buttons in the associated ribbon.- Overrides:
getTabButtonGapin classBasicRibbonUI- Returns:
- The layout gap for the tab buttons in the associated ribbon.
-
paintMinimizedRibbonSeparator
- Specified by:
paintMinimizedRibbonSeparatorin classBasicRibbonUI
-