Class ArrowIcon
java.lang.Object
com.l2fprod.gui.icon.ArrowIcon
- All Implemented Interfaces:
Icon, SwingConstants
-
Field Summary
Fields inherited from interface 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 TypeMethodDescriptionintintstatic voidpaintArrow(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:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
paintArrow
public static void paintArrow(Graphics g, int size, int x, int y, int width, int height, int direction, boolean isEnabled)
-