Constructor and Description |
---|
ArrowIcon(int size,
int direction) |
ArrowIcon(int size,
int direction,
Color enabled,
Color disabled) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x0,
int y0) |
void |
setEnabled(boolean enabled) |
public ArrowIcon(int size, int direction)
public ArrowIcon(int size, int direction, Color enabled, Color disabled)
size
- the icon sizedirection
- the direction in which the arrow points. Possible values are
SwingConstants.NORTH
, SwingConstants.SOUTH
,
SwingConstants.EAST
, SwingConstants.WEST
.public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public void setEnabled(boolean enabled)
Copyright © 2024 levigo holding gmbh. All rights reserved.