Class ArrowIcon

java.lang.Object
com.l2fprod.gui.icon.ArrowIcon
All Implemented Interfaces:
Icon, SwingConstants

public class ArrowIcon extends Object implements Icon, SwingConstants
  • Constructor Details

    • ArrowIcon

      public ArrowIcon(int direction)
    • ArrowIcon

      public ArrowIcon(int size, int direction)
  • Method Details

    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • paintArrow

      public static void paintArrow(Graphics g, int size, int x, int y, int width, int height, int direction, boolean isEnabled)