|
||||||||||
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 pressedMethod Detail |
public void paintIcon(Component c, Graphics g, int x, int y)
Icon
.
paintIcon
in interface Icon
c
- the Component
g
- the Graphics
x
- the x coordinatey
- the y coordinatepublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |