Class RadianceRibbonBandUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.RibbonBandUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonBandUI
org.pushingpixels.radiance.component.internal.theming.ribbon.ui.RadianceRibbonBandUI
UI for ribbon bands in Radiance look and feel.
-
Nested Class Summary
Nested classes/interfaces inherited from class BasicRibbonBandUI
BasicRibbonBandUI.BandCollapsePopupMenuPanel -
Field Summary
Fields inherited from class BasicRibbonBandUI
expandButton, expandCommand, ribbonBand -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JCommandButtonCreates the expand button for the associated ribbon band.protected CommandcreateExpandCommand(ComponentOrientation componentOrientation) static ComponentUIcreateUI(JComponent comp) intprotected voidInstalls default parameters on the associated ribbon band.protected voidpaintBandTitle(Graphics graphics, Rectangle titleRectangle, String title) Paints band title pane.protected voidpaintBandTrailingSeparator(Graphics graphics, Rectangle toFill) Paints band background.protected voidUninstalls default parameters from the associated ribbon band.voidupdate(Graphics g, JComponent c) Methods inherited from class BasicRibbonBandUI
createLayoutManager, getPreferredCollapsedWidth, installComponents, installListeners, installUI, paint, uninstallComponents, uninstallListeners, uninstallUIMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
-
Constructor Details
-
RadianceRibbonBandUI
private RadianceRibbonBandUI()
-
-
Method Details
-
createUI
-
installDefaults
protected void installDefaults()Description copied from class:BasicRibbonBandUIInstalls default parameters on the associated ribbon band.- Overrides:
installDefaultsin classBasicRibbonBandUI
-
uninstallDefaults
protected void uninstallDefaults()Description copied from class:BasicRibbonBandUIUninstalls default parameters from the associated ribbon band.- Overrides:
uninstallDefaultsin classBasicRibbonBandUI
-
paintBandTrailingSeparator
Description copied from class:BasicRibbonBandUIPaints band background.- Specified by:
paintBandTrailingSeparatorin classBasicRibbonBandUI- Parameters:
graphics- Graphics context.toFill- Rectangle for the background.
-
paintBandTitle
Description copied from class:BasicRibbonBandUIPaints band title pane.- Specified by:
paintBandTitlein classBasicRibbonBandUI- Parameters:
graphics- Graphics context.titleRectangle- Rectangle for the title pane.title- Title string.
-
getBandTitleHeight
public int getBandTitleHeight()- Specified by:
getBandTitleHeightin classRibbonBandUI
-
createExpandButton
Description copied from class:BasicRibbonBandUICreates the expand button for the associated ribbon band.- Specified by:
createExpandButtonin classBasicRibbonBandUI- Returns:
- Expand button for the associated ribbon band.
-
createExpandCommand
- Specified by:
createExpandCommandin classBasicRibbonBandUI
-
update
- Overrides:
updatein classComponentUI
-