Class ZoomSnapIn

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, SnapIn

    public class ZoomSnapIn
    extends com.google.gwt.user.client.ui.Composite
    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 com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onEnsureDebugId​(String baseID)  
      • Methods inherited from class com.google.gwt.user.client.ui.Composite

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        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 com.google.gwt.user.client.ui.UIObject

        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 com.google.gwt.user.client.ui.IsWidget

        asWidget
    • 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.
        Parameters:
        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)
        Overrides:
        onEnsureDebugId in class com.google.gwt.user.client.ui.UIObject