| 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 | Description |
|---|---|
ArrowButtonTransitionAwareIcon(AbstractButton button,
int orientation) |
|
ArrowButtonTransitionAwareIcon(JComponent component,
TransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate,
int orientation) |
Creates an arrow icon.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
protected int iconWidth
protected int iconHeight
protected TransitionAwareIcon.Delegate delegate
protected JComponent component
public ArrowButtonTransitionAwareIcon(AbstractButton button, int orientation)
public ArrowButtonTransitionAwareIcon(JComponent component, TransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, int orientation)
component - Arrow button.orientation - Arrow icon orientation.public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Icon