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.
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 Summary
Modifier and TypeMethodDescriptionvoid
drawColorSchemeIcon
(Graphics2D g, RadianceColorScheme scheme, float alpha, int width, int height) Draws the icon that matches the specified color scheme.
-
Method Details
-
drawColorSchemeIcon
void drawColorSchemeIcon(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.
-