Package org.zkoss.zkex.ui.event
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 org.zkoss.zk.ui.event.Event
Represents an event caused by a component being rotated.
Available in ZK PE
- Since:
- 9.0.0
- Author:
- rudyhuang
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRotationEvent(String name) Constructs a rotation event.RotationEvent(String name, org.zkoss.zk.ui.Component target) Constructs a rotation event.RotationEvent(String name, org.zkoss.zk.ui.Component target, Object data) Constructs a rotation event. -
Method Summary
Modifier and TypeMethodDescriptionintGets the current rotation.static RotationEventgetRotationEvent(org.zkoss.zk.au.AuRequest request) Converts an AU request to a rotation event.Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
RotationEvent
Constructs a rotation event. -
RotationEvent
Constructs a rotation event. -
RotationEvent
Constructs a rotation event.
-
-
Method Details
-
getRotationEvent
Converts an AU request to a rotation event. -
getRotation
public int getRotation()Gets the current rotation.- Returns:
- rotation
-