|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectschmitzm.swing.CircleIcon
public class CircleIcon
Diese Klasse stellt ein Icon in Form eines ausgefuellten Kreises dar.
Constructor Summary | |
---|---|
CircleIcon(int width,
int height,
Color color)
Erzeugt ein Icon mit einem ausgefuellten Kreis. |
Method Summary | |
---|---|
int |
getIconHeight()
Liefert die Hoehe des Kreises. |
int |
getIconWidth()
Liefert die Breite des Kreises. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Malt den Kreis an die angegeben Stelle (x,y) in das Graphics- Objekt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CircleIcon(int width, int height, Color color)
width
- Breite des Kreisesheight
- Hoehe des Kreisescolor
- Farbe des KreisesMethod Detail |
---|
public void paintIcon(Component c, Graphics g, int x, int y)
paintIcon
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |