Class ZoomSnapIn

  • All Implemented Interfaces:,,,,,, SnapIn

    public class ZoomSnapIn
    implements SnapIn
    Widget to zoom the PageView.

    This command changes the page view based render settings. If any zooming is performed on document level this might not work well together.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ZoomSnapIn.ZoomSnapInStyle
      Style for the ZoomSnapIn
      • Nested classes/interfaces inherited from class,
    • Field Summary

      • Fields inherited from class

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onEnsureDebugId​(String baseID)  
      • Methods inherited from class

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface

    • Constructor Detail

      • ZoomSnapIn

        public ZoomSnapIn()
        Create a new ZoomSnapIn with UIStyler#get()#zoomSnapInStyle() as the style.
      • ZoomSnapIn

        public ZoomSnapIn​(ZoomSnapIn.ZoomSnapInStyle style,
                          boolean addFitCommands,
                          int... values)
        Create a new ZoomSnapIn with the given style and the given zoom values. If no values are given the default values are used. Additionally it can be configured whether the fit commands should be included.
        style - the ZoomSnapIn.ZoomSnapInStyle
        addFitCommands - whether the fit command should be contained or not. By default they are contained
        values - the zoom values which should be used
    • Method Detail

      • onEnsureDebugId

        protected void onEnsureDebugId​(String baseID)
        onEnsureDebugId in class