Class ArrowButtonTransitionAwareIcon
- java.lang.Object
-
- org.pushingpixels.substance.internal.utils.icon.ArrowButtonTransitionAwareIcon
-
-
Field Summary
Fields Modifier and Type Field Description protected JComponent
component
protected TransitionAwareIcon.Delegate
delegate
Delegate to compute the actual icons.protected int
iconHeight
Icon height.protected int
iconWidth
Icon 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 int
getIconHeight()
int
getIconWidth()
void
paintIcon(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:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfaceIcon
-
-