|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectclock.LabelLine
public class LabelLine
Display of the label line beneath a clock
| Constructor Summary | |
|---|---|
LabelLine(int leftX,
int upperY,
int lineWidth,
java.lang.String label,
java.awt.Color color)
Constructor |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics graphics)
Draw this line |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelLine(int leftX,
int upperY,
int lineWidth,
java.lang.String label,
java.awt.Color color)
leftX - the X coordinate of the upper left corner of the bounding
rectangle for the line relative to upper left corner of clockupperY - the Y coordinate of the upper left corner of the bounding
rectangle for the line relative to upper left corner of clocklineWidth - the width available for the line - displayed line will
be centered within this widthlabel - the descriptive text to be displayed in this linecolor - the color of the line| Method Detail |
|---|
public void draw(java.awt.Graphics graphics)
graphics - the graphics object on which to draw
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||