Class RibbonUI

    • Field Detail

      • applicationIcon

        public ResizableIcon applicationIcon
        The application icon. This is displayed in the application menu button.
    • Constructor Detail

      • RibbonUI

        public RibbonUI()
    • Method Detail

      • getContextualTaskGroupBounds

        public abstract Rectangle getContextualTaskGroupBounds​(RibbonContextualTaskGroup group)
        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

        public abstract void handleMouseWheelEvent​(MouseWheelEvent e)
      • getApplicationIcon

        public ResizableIcon getApplicationIcon()
        Returns the application icon. This is displayed on the application menu button.
        Returns:
        the application icon
      • setApplicationIcon

        public void setApplicationIcon​(ResizableIcon applicationIcon)
        Sets the application icon. This is displayed on the application menu button.

        There is no check performed to see if applicationIcon is null.

        Parameters:
        applicationIcon - the application icon to set