|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.swing.BevelArrowIcon
Icon that depicts an arrow used on a column header to indicate
if sorting is ascending or descending.
| Field Summary | |
static int |
DOWN
|
static int |
UP
|
| Constructor Summary | |
BevelArrowIcon(int direction,
boolean is_raised_view,
boolean is_pressed_view)
Instantiates a BevelArrowIcon from the specified parameters. |
|
| Method Summary | |
int |
getIconHeight()
Returns the height of the icon. |
int |
getIconWidth()
Returns the width of the icon. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Redraws the Icon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UP
public static final int DOWN
| Constructor Detail |
public BevelArrowIcon(int direction,
boolean is_raised_view,
boolean is_pressed_view)
BevelArrowIcon from the specified parameters.
direction - up or downis_raised_view - does appear as raisedis_pressed_view - does appear as pressed| Method Detail |
public void paintIcon(Component c,
Graphics g,
int x,
int y)
Icon.
paintIcon in interface Iconc - the Componentg - the Graphicsx - the x coordinatey - the y coordinatepublic int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||