Class BladeArrowButtonTransitionAwareIcon
java.lang.Object
org.pushingpixels.radiance.theming.internal.blade.BladeArrowButtonTransitionAwareIcon
- All Implemented Interfaces:
Icon
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JComponentDelegate to draw the actual icons.private intIcon height.private intIcon width.private BladeContainerColorTokens -
Constructor Summary
ConstructorsConstructorDescriptionBladeArrowButtonTransitionAwareIcon(AbstractButton button, Dimension iconDimension, int orientation) BladeArrowButtonTransitionAwareIcon(JComponent component, BladeTransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, Dimension iconDimension, int orientation) Creates an arrow icon. -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Field Details
-
iconWidth
private int iconWidthIcon width. -
iconHeight
private int iconHeightIcon height. -
delegate
Delegate to draw the actual icons. -
component
-
transitionAwareUIDelegate
-
colorTokensAssociationKindDelegate
private BladeTransitionAwareIcon.ColorTokensAssociationKindDelegate colorTokensAssociationKindDelegate -
mutableContainerTokens
-
-
Constructor Details
-
BladeArrowButtonTransitionAwareIcon
public BladeArrowButtonTransitionAwareIcon(AbstractButton button, Dimension iconDimension, int orientation) -
BladeArrowButtonTransitionAwareIcon
public BladeArrowButtonTransitionAwareIcon(JComponent component, BladeTransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, Dimension iconDimension, int orientation) Creates an arrow icon.- Parameters:
component- Arrow button.orientation- Arrow icon orientation.
-
-
Method Details
-
paintIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-