BasicRibbonUI
public abstract class RibbonUI extends ComponentUI
JRibbon
).Modifier and Type | Field | Description |
---|---|---|
ResizableIcon |
applicationIcon |
The application icon.
|
Constructor | Description |
---|---|
RibbonUI() |
Modifier and Type | Method | Description |
---|---|---|
ResizableIcon |
getApplicationIcon() |
Returns the application icon.
|
abstract Rectangle |
getContextualTaskGroupBounds(RibbonContextualTaskGroup group) |
Returns the bounds of the specified contextual task group.
|
abstract void |
handleMouseWheelEvent(MouseWheelEvent e) |
|
abstract boolean |
isShowingScrollsForBands() |
|
abstract boolean |
isShowingScrollsForTaskToggleButtons() |
|
void |
setApplicationIcon(ResizableIcon applicationIcon) |
Sets the application icon.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
public ResizableIcon applicationIcon
public abstract Rectangle getContextualTaskGroupBounds(RibbonContextualTaskGroup group)
group
- Contextual task group.public abstract boolean isShowingScrollsForTaskToggleButtons()
public abstract boolean isShowingScrollsForBands()
public abstract void handleMouseWheelEvent(MouseWheelEvent e)
public ResizableIcon getApplicationIcon()
public void setApplicationIcon(ResizableIcon applicationIcon)
There is no check performed to see if applicationIcon
is
null
.
applicationIcon
- the application icon to set