SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.client.gui.jsorttable
Class SortArrowIcon

java.lang.Object
  |
  +--org.sourcejammer.client.gui.jsorttable.SortArrowIcon
All Implemented Interfaces:
javax.swing.Icon

public class SortArrowIcon
extends java.lang.Object
implements javax.swing.Icon


Field Summary
static int ASCENDING
           
static int DECENDING
           
protected  int direction
           
protected  int height
           
static int NONE
           
protected  int width
           
 
Constructor Summary
SortArrowIcon(int direction)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE

DECENDING

public static final int DECENDING

ASCENDING

public static final int ASCENDING

direction

protected int direction

width

protected int width

height

protected int height
Constructor Detail

SortArrowIcon

public SortArrowIcon(int direction)
Method Detail

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan