org.jurvis.swing.table
Class JvArrowIcon

java.lang.Object
  extended by org.jurvis.swing.table.JvArrowIcon
All Implemented Interfaces:
Icon, SwingConstants

public class JvArrowIcon
extends Object
implements 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
JvArrowIcon(int direction, boolean isPressedView)
           
JvArrowIcon(int iconSize, int direction, boolean isEnabled)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvArrowIcon

public JvArrowIcon(int direction,
                   boolean isPressedView)

JvArrowIcon

public JvArrowIcon(int iconSize,
                   int direction,
                   boolean isEnabled)
Method Detail

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


Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.