public class SortArrowIcon
extends java.lang.Object
implements javax.swing.Icon
| Modifier and Type | Field and Description |
|---|---|
static int |
ASCENDING |
static int |
DECENDING |
protected int |
direction |
protected int |
height |
static int |
NONE |
protected int |
width |
| Constructor and Description |
|---|
SortArrowIcon(int direction) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public static final int NONE
public static final int DECENDING
public static final int ASCENDING
protected int direction
protected int width
protected int height
public int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Icon