Class JRibbonTaskToggleButton

    • Constructor Detail

      • JRibbonTaskToggleButton

        public JRibbonTaskToggleButton​(RibbonTask ribbonTask)
        Creates a new toggle button.
        Parameters:
        ribbonTask -
    • Method Detail

      • getContextualGroupHueColor

        public Color getContextualGroupHueColor()
        Returns the hue color of the matching contextual task group if the associated task is contextual.
        Returns:
        The hue color of the matching contextual task group if the associated task is contextual, null otherwise.
      • getRibbonTask

        public RibbonTask getRibbonTask()
      • setContextualGroupHueColor

        public void setContextualGroupHueColor​(Color contextualGroupHueColor)
        Sets the hue color of the matching contextual task group on this button.
        Parameters:
        contextualGroupHueColor - The hue color of the matching contextual task group.
      • setKeyTip

        public void setKeyTip​(String keyTip)
      • getKeyTip

        public String getKeyTip()