Class RibbonUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.RibbonUI
- Direct Known Subclasses:
BasicRibbonUI
UI for ribbon (
JRibbon
).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the application icon.abstract Rectangle
Returns the bounds of the specified contextual task group.abstract void
abstract boolean
abstract boolean
void
setApplicationIcon
(ResizableIcon applicationIcon) Sets the application icon.Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Field Details
-
applicationIcon
The application icon. This is displayed in the application menu button.
-
-
Constructor Details
-
RibbonUI
public RibbonUI()
-
-
Method Details
-
getContextualTaskGroupBounds
Returns the bounds of the specified contextual task group.- Parameters:
group
- Contextual task group.- Returns:
- The bounds of the specified contextual task group.
-
isShowingScrollsForTaskToggleButtons
public abstract boolean isShowingScrollsForTaskToggleButtons() -
isShowingScrollsForBands
public abstract boolean isShowingScrollsForBands() -
handleMouseWheelEvent
-
getApplicationIcon
Returns the application icon. This is displayed on the application menu button.- Returns:
- the application icon
-
setApplicationIcon
Sets the application icon. This is displayed on the application menu button.There is no check performed to see if
applicationIcon
isnull
.- Parameters:
applicationIcon
- the application icon to set
-