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
-
public class RadianceRibbonUI extends BasicRibbonUI
UI for ribbon in Radiance look and feel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classRadianceRibbonUI.RadianceTaskToggleButtonsHostPanelPanel 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 Modifier Constructor Description privateRadianceRibbonUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BasicRibbonUI.TaskToggleButtonsHostPanelcreateTaskToggleButtonsHostPanel()static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent comp)protected intgetTabButtonGap()Returns the layout gap for the tab buttons in the associated ribbon.protected voidinstallComponents()Installs subcomponents on the associated ribbon.protected voidinstallDefaults()Installs defaults on the associated ribbon.protected voidpaintBackground(java.awt.Graphics g)Paints the ribbon background.protected voidpaintMinimizedRibbonSeparator(java.awt.Graphics g)protected voiduninstallDefaults()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
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
-
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
protected BasicRibbonUI.TaskToggleButtonsHostPanel createTaskToggleButtonsHostPanel()
- Specified by:
createTaskToggleButtonsHostPanelin classBasicRibbonUI
-
paintBackground
protected void paintBackground(java.awt.Graphics g)
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
protected void paintMinimizedRibbonSeparator(java.awt.Graphics g)
- Specified by:
paintMinimizedRibbonSeparatorin classBasicRibbonUI
-
-