Class RotationEvent

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

public class RotationEvent extends Event
Represents an event caused by a component being rotated.

Available in ZK PE

Since:
9.0.0
Author:
rudyhuang
See Also:
  • Constructor Details

    • RotationEvent

      public RotationEvent(String name)
      Constructs a rotation event.
    • RotationEvent

      public RotationEvent(String name, Component target)
      Constructs a rotation event.
    • RotationEvent

      public RotationEvent(String name, Component target, Object data)
      Constructs a rotation event.
  • Method Details

    • getRotationEvent

      public static RotationEvent getRotationEvent(AuRequest request)
      Converts an AU request to a rotation event.
    • getRotation

      public int getRotation()
      Gets the current rotation.
      Returns:
      rotation