|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.swing.BlankIcon
Used as a filler on the column header when the user has not yet chosen
to sort a column and a directional BevelArrowIcon
is inappropriate.
Constructor Summary | |
BlankIcon()
Instantiate an empty BlankIcon . |
|
BlankIcon(Color color,
int size)
Instantiates a BlankIcon using the color and size specified |
Method Summary | |
int |
getIconHeight()
Returns the icon height. |
int |
getIconWidth()
Returns the icon width. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Repaints the BlankIcon . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BlankIcon()
BlankIcon
.
public BlankIcon(Color color, int size)
BlankIcon
using the color and size specified
color
- the Color
size
- the sizeMethod Detail |
public void paintIcon(Component c, Graphics g, int x, int y)
BlankIcon
.
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 |