Class ZoomEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ZoomEvent
    extends Event
    Represents an event caused by a component being zoomed.

    Available in ZK PE

    Since:
    9.0.0
    Author:
    rudyhuang
    See Also:
    Serialized Form
    • Constructor Detail

      • ZoomEvent

        public ZoomEvent​(java.lang.String name)
        Constructs a zoom event.
      • ZoomEvent

        public ZoomEvent​(java.lang.String name,
                         Component target)
        Constructs a zoom event.
      • ZoomEvent

        public ZoomEvent​(java.lang.String name,
                         Component target,
                         java.lang.Object data)
        Constructs a zoom event.
    • Method Detail

      • getZoomEvent

        public static ZoomEvent getZoomEvent​(AuRequest request)
        Converts an AU request to a zoom event.
      • getZoom

        public double getZoom()
        Gets the current zoom level.
        Returns:
        zoom level