|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.quarterback.swing.JLabeller
Label-like class with asynchronously callable text set and clear methods. Note that this class is NOT a subclass of JLabel but a wrapper around an already instanciated JLabel.
Field Summary | |
private boolean |
blockoneclear
|
private javax.swing.JLabel |
mylabel
|
private java.awt.Color |
origcolor
|
Constructor Summary | |
JLabeller(javax.swing.JLabel thelabel)
Instanciate and pass the JLabel to work on. |
Method Summary | |
void |
clearText()
Clear text in JLabel. |
void |
setBlockOneClear(boolean b)
|
void |
setText(java.awt.Color textcolor,
java.lang.String t)
Set text on internal label The given Color is applied to the label. |
void |
setText(java.lang.String t)
Set text on JLabel in default color. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private javax.swing.JLabel mylabel
private java.awt.Color origcolor
private boolean blockoneclear
Constructor Detail |
public JLabeller(javax.swing.JLabel thelabel)
Method Detail |
public void setText(java.awt.Color textcolor, java.lang.String t)
textcolor
- Special color of label, null to apply default text colort
- Text to writepublic void setBlockOneClear(boolean b)
public void setText(java.lang.String t)
public void clearText()
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |