|
MUC Javadocs Version 3.0 January 2, 2007 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmuc.drawings.Balloon
public class Balloon
A graphical class that displays as a balloon.
| Field Summary | |
|---|---|
private java.awt.Color |
color
The Color for the body of this balloon. |
private int |
down
The vertical position of the upper left corner of this balloon. |
private int |
over
The horizontal position of the upper left corner of this balloon. |
private int |
size
The width and height for the body of this balloon. |
| Constructor Summary | |
|---|---|
Balloon(int over,
int down,
int size,
java.awt.Color color)
Creates a new Balloon. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics g)
Draws this Balloon. |
java.awt.Color |
getColor()
|
int |
getDown()
|
int |
getOver()
|
int |
getSize()
|
java.lang.String |
toString()
Returns a string representation of this Balloon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int over
private int down
private int size
private java.awt.Color color
| Constructor Detail |
|---|
public Balloon(int over,
int down,
int size,
java.awt.Color color)
over - The horizontal position of the upper left corner of this balloon.down - The vertical position of the upper left corner of this balloon.color - The Color of this balloon.size - The width and height of this balloon.| Method Detail |
|---|
public void draw(java.awt.Graphics g)
g - A Graphics context on which to draw.public java.lang.String toString()
toString in class java.lang.Objectpublic int getOver()
public int getDown()
public java.awt.Color getColor()
public int getSize()
|
MUC Javadocs Version 3.0 January 2, 2007 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||