|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.swing.BlankIcon
public class 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 Colorsize - the size| Method Detail |
|---|
public void paintIcon(Component c,
Graphics g,
int x,
int y)
BlankIcon.
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 | ||||||||