|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mospace.swing.icon.PopupIcon
public class PopupIcon
A Java icon with a black triangle pointing downwards, similar to the combo box control for displaying the combo box selection.
| Constructor Summary | |
|---|---|
PopupIcon()
Constructs a new PopupIcon that has the default size. |
|
PopupIcon(int size)
Constructs a new PopupIcon with the specified size. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
Gets the height of this icon. |
int |
getIconWidth()
Gets the width of this icon. |
void |
paintIcon(Component c,
Graphics g,
int xo,
int yo)
Paints this icon on the specified graphics object at the specified location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PopupIcon()
public PopupIcon(int size)
size - the width and height of the new icon| Method Detail |
|---|
public void paintIcon(Component c,
Graphics g,
int xo,
int yo)
paintIcon in interface Iconc - ignored, may be nullg - the graphics object to paint onxo - the x-offset for this iconyo - the y-offset for this iconpublic int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||