Interface CommandButtonFollowColorSchemeIcon.Delegate

  • Enclosing class:
    CommandButtonFollowColorSchemeIcon
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface CommandButtonFollowColorSchemeIcon.Delegate
    The delegate needs to implement the method in this interface based on the provided color scheme. The color scheme is computed based on the transitions that are happening on the associated command button.
    • Method Detail

      • drawColorSchemeIcon

        void drawColorSchemeIcon​(java.awt.Graphics2D g,
                                 RadianceColorScheme scheme,
                                 float alpha,
                                 int width,
                                 int height)
        Draws the icon that matches the specified color scheme.
        Parameters:
        scheme - Color scheme.
        width - Icon width.
        height - Icon height.