|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.InputEvent
org.zkoss.zk.ui.event.ErrorEvent
public class ErrorEvent
Represents an event cause by user's entering a wrong data or clearing the last wrong data.
Errorable| Constructor Summary | |
|---|---|
ErrorEvent(java.lang.String name,
Component target,
java.lang.String val,
java.lang.String msg)
Constructs an error-relevant event. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the error message if this event is caused by a wrong data, or null if it is to clear messsage. |
| Methods inherited from class org.zkoss.zk.ui.event.InputEvent |
|---|
getStart, getValue, isChangingBySelectBack |
| Methods inherited from class org.zkoss.zk.ui.event.Event |
|---|
getData, getName, getPage, getTarget, isPropagatable, stopPropagation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorEvent(java.lang.String name,
Component target,
java.lang.String val,
java.lang.String msg)
val - the new valuemsg - the error message if not null. If null, it means the
error (notified by previous ErrorEvent) is cleared.| Method Detail |
|---|
public final java.lang.String getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||