Interface CommandButtonFollowColorTokensIcon.Delegate
- Enclosing class:
CommandButtonFollowColorTokensIcon
- 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 tokens. The color tokens are computed based on the transitions that are
happening on the associated command button.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawColorTokensIcon(Graphics2D g, ContainerColorTokens tokens, float alpha, int width, int height) Draws the icon that matches the specified color tokens.
-
Method Details
-
drawColorTokensIcon
void drawColorTokensIcon(Graphics2D g, ContainerColorTokens tokens, float alpha, int width, int height) Draws the icon that matches the specified color tokens.- Parameters:
tokens- Color tokens.width- Icon width.height- Icon height.
-