Package org.zkoss.zk.ui.event
Class StubEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.StubEvent
- All Implemented Interfaces:
Serializable
The event sent from a stub component (
StubComponent.
The target component (Event.getTarget()) is the nearest non-stub
parent. While the stub component causes the event to be sent can be
found by use of getId(org.zkoss.zk.ui.Component, java.lang.String), if it is assigned with an ID.
- Since:
- 6.0.0
- Author:
- tomyeh
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the command of the AU request, such as onChange.getId()Returns the ID of the stub component sending the request, or null if not available.Returns the data carried in the request.static final StubEventgetStubEvent(AuRequest request) Converts an AU request to a stub event.getUuid()Returns the UUID of the stub component sending the request.Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
Method Details
-
getStubEvent
Converts an AU request to a stub event. -
getId
Returns the ID of the stub component sending the request, or null if not available. -
getCommand
Returns the command of the AU request, such as onChange. -
getUuid
Returns the UUID of the stub component sending the request. -
getRequestData
Returns the data carried in the request. The content depends on the request (AuRequest).
-