|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwjhk.jupload2.gui.SortArrowIcon
public class SortArrowIcon
Icon implementation, to control and indicate the current sort order, into the
FilePanelJTable.
| Field Summary | |
|---|---|
static int |
ASCENDING
Draw arrow, representing ascending sort order. |
static int |
DESCENDING
Draw arrow, representing descending sort order. |
protected int |
direction
|
protected int |
height
|
static int |
NONE
Don't draw an arrow. |
protected int |
width
|
| Constructor Summary | |
|---|---|
SortArrowIcon(int direction)
Creates a new instance. |
|
| 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 |
| Field Detail |
|---|
public static final int NONE
public static final int DESCENDING
public static final int ASCENDING
protected int direction
protected int width
protected int height
| Constructor Detail |
|---|
public SortArrowIcon(int direction)
direction - The desired direction, either ASCENDING,
DESCENDING or NONE| Method Detail |
|---|
public int getIconWidth()
getIconWidth in interface IconIcon.getIconWidth()public int getIconHeight()
getIconHeight in interface IconIcon.getIconHeight()
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface IconIcon.paintIcon(java.awt.Component, java.awt.Graphics,
int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||