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.
@FunctionalInterface public static interface CommandButtonFollowColorTokensIcon.DelegateThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrawColorTokensIcon(java.awt.Graphics2D g, ContainerColorTokens tokens, float alpha, int width, int height)Draws the icon that matches the specified color tokens.
-
-
-
Method Detail
-
drawColorTokensIcon
void drawColorTokensIcon(java.awt.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.
-
-