Package org.zkoss.zkmax.zul.event

## Class DetectEvent

- java.lang.Object
- - org.zkoss.zk.ui.event.Event
  - - org.zkoss.zkmax.zul.event.DetectEvent

- All Implemented Interfaces:
    `java.io.Serializable`

      public class DetectEvent
      extends Event

  Represents an event that a result is detected by component.
  Since:
    8.6.0
  Author:
    klyvechen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DetectEvent​(java.lang.String name, Component target, java.lang.Object data)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getResult()` | Returns the detected result.
    `java.lang.String` | `getType()` | Returns the detected type.

    - ### Methods inherited from class org.zkoss.zk.ui.event.Event

      `getData, getEvent, 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

    - #### DetectEvent

          public DetectEvent​(java.lang.String name,
                             Component target,
                             java.lang.Object data)

  - ### Method Detail

    - #### getResult

          public java.lang.String getResult()

      Returns the detected result.

    - #### getType

          public java.lang.String getType()

      Returns the detected type.