|
JUICe | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lafros.juice.alerts.TimeoutLabel
public class TimeoutLabel
label whose text is displayed as an alert if not updated within the specified timeout.
Constructor Summary | |
---|---|
TimeoutLabel()
creates new instance. |
|
TimeoutLabel(MonLabel monLabel)
as above, but supplying an existing MonLabel. |
Method Summary | |
---|---|
MonLabel |
getMonLabel()
returns this component. |
boolean |
isIntrusive()
refers to the alert triggered after the timeout. |
void |
setIntrusive(boolean b)
sets this property. |
void |
setText(String text,
long timeoutMillis)
this is displayed normally for the specified duration, after which it will be displayed as an alert. |
void |
terminate()
termination method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeoutLabel()
MonLabel
will be created
automatically, using its no-arg constructor.
public TimeoutLabel(MonLabel monLabel)
Method Detail |
---|
public MonLabel getMonLabel()
public void setIntrusive(boolean b)
public boolean isIntrusive()
public void setText(String text, long timeoutMillis)
timeoutMillis
- timeout in millisecondspublic void terminate()
|
JUICe | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |