|
All Methods zio package context |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zio.ZObject zio.ZLabel
An unchanging line of text. There are suffixes for altering the default font or changing its point size. Reasonable values for the point size range between 7 (very small) and 75 (very big).
Constructor Summary | |
ZLabel(java.lang.String label)
Creates a ZLabel . |
Method Summary | |
ZLabel |
background(java.awt.Color c)
Suffix that determines the background color. |
ZLabel |
debug(java.lang.String debugId)
Suffix that creates debug output. |
ZLabel |
foreground(java.awt.Color c)
Suffix that sets the foreground color. |
ZLabel |
pointSize(int pointSize)
Suffix which alters the point size of the font. |
ZLabel |
setFont(java.awt.Font f)
Suffix which sets the font the label will appear in. |
Methods inherited from class zio.ZObject |
getSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZLabel(java.lang.String label)
ZLabel
.
label
- the String
to be displayedMethod Detail |
public final ZLabel background(java.awt.Color c)
c
- the desired colorpublic final ZLabel foreground(java.awt.Color c)
public final ZLabel debug(java.lang.String debugId)
debugId
- a string to identify this component
in the debug outputpublic final ZLabel setFont(java.awt.Font f)
f
- the desired fontpublic final ZLabel pointSize(int pointSize)
pointSize
- the desired point size
|
author context |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |