Class StubEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.StubEvent
All Implemented Interfaces:
Serializable

public class StubEvent extends Event
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 Details

  • Method Details

    • getStubEvent

      public static final StubEvent getStubEvent(AuRequest request)
      Converts an AU request to a stub event.
    • getId

      public String getId()
      Returns the ID of the stub component sending the request, or null if not available.
    • getCommand

      public String getCommand()
      Returns the command of the AU request, such as onChange.
    • getUuid

      public String getUuid()
      Returns the UUID of the stub component sending the request.
    • getRequestData

      public Map<String,Object> getRequestData()
      Returns the data carried in the request. The content depends on the request (AuRequest).