Class CheckEvent

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

public class CheckEvent extends Event
Represents an event cause by user's check a state at the client.
Author:
tomyeh
See Also:
  • Constructor Details

    • CheckEvent

      public CheckEvent(String name, Component target, boolean checked)
      Constructs a check-relevant event.
      Parameters:
      checked - whether it is checked.
    • CheckEvent

      public CheckEvent(String name, Component target, Boolean checked)
      Constructs a check-relevant event.
      Parameters:
      checked - whether it is checked.
      Since:
      9.0.0
  • Method Details

    • getCheckEvent

      public static final CheckEvent getCheckEvent(AuRequest request)
      Converts an AU request to a check event.
      Since:
      5.0.0
    • isChecked

      public final boolean isChecked()
      Returns whether the state is checked.
    • getState

      public final Boolean getState()
      Returns the nullable state is changed.