Class ArrowButtonTransitionAwareIcon
- java.lang.Object
-
- org.pushingpixels.substance.internal.utils.icon.ArrowButtonTransitionAwareIcon
-
-
Field Summary
Fields Modifier and Type Field Description protected JComponentcomponentprotected TransitionAwareIcon.DelegatedelegateDelegate to compute the actual icons.protected inticonHeightIcon height.protected inticonWidthIcon width.
-
Constructor Summary
Constructors Constructor Description ArrowButtonTransitionAwareIcon(AbstractButton button, int orientation)ArrowButtonTransitionAwareIcon(JComponent component, TransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, int orientation)Creates an arrow icon.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(Component c, Graphics g, int x, int y)
-
-
-
Field Detail
-
iconWidth
protected int iconWidth
Icon width.
-
iconHeight
protected int iconHeight
Icon height.
-
delegate
protected TransitionAwareIcon.Delegate delegate
Delegate to compute the actual icons.
-
component
protected JComponent component
-
-
Constructor Detail
-
ArrowButtonTransitionAwareIcon
public ArrowButtonTransitionAwareIcon(AbstractButton button, int orientation)
-
ArrowButtonTransitionAwareIcon
public ArrowButtonTransitionAwareIcon(JComponent component, TransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, int orientation)
Creates an arrow icon.- Parameters:
component- Arrow button.orientation- Arrow icon orientation.
-
-
Method Detail
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
-