Class ViewPositionChangeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ViewPositionChangeEvent
    extends org.zkoss.zk.ui.event.Event
    Represents an event when the view position (canvas center) has changed.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Point getViewPosition()  
      • 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

      • ViewPositionChangeEvent

        public ViewPositionChangeEvent​(org.zkoss.zk.ui.Component target,
                                       Point param)
    • Method Detail

      • getViewPosition

        public Point getViewPosition()
        Returns:
        new view position (canvas center point)