Package com.l2fprod.gui.icon
Class ArrowIcon
java.lang.Object
com.l2fprod.gui.icon.ArrowIcon
- All Implemented Interfaces:
Icon
,SwingConstants
-
Field Summary
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
static void
paintArrow
(Graphics g, int size, int x, int y, int width, int height, int direction, boolean isEnabled) void
-
Constructor Details
-
ArrowIcon
public ArrowIcon(int direction) -
ArrowIcon
public ArrowIcon(int size, int direction)
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
paintArrow
public static void paintArrow(Graphics g, int size, int x, int y, int width, int height, int direction, boolean isEnabled)
-