Class OverlayInformation

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.levigo.jadice.web.client.tools.OverlayInformation
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

public abstract class OverlayInformation extends com.google.gwt.user.client.ui.Composite
This class is used to display some information about scrolling, zooming and rotating (for example the direction of rotation, the zoom factor or the current page index) as an overlay
  • Nested Class Summary

    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
    Modifier and Type
    Field
    Description
    protected com.google.gwt.user.client.ui.SimplePanel
     

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInformation(com.google.gwt.user.client.ui.IsWidget widget)
     
    void
     
    Use this overlay for scrolling.
    Use this overlay for zooming.
    void
     

    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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • simplePanel

      protected com.google.gwt.user.client.ui.SimplePanel simplePanel
  • Constructor Details

    • OverlayInformation

      public OverlayInformation()
  • Method Details

    • getOverlayInformationZoom

      public static OverlayInformation getOverlayInformationZoom(PageView pageView)
      Use this overlay for zooming. Position and height is defined via CSS.
      Parameters:
      pageView - the current PageView.
      Returns:
      the overlay for zooming.
    • getOverlayInformationScroll

      public static OverlayInformation getOverlayInformationScroll(PageView pageView)
      Use this overlay for scrolling. Position and height is defined via CSS. The CSS position will be treated as percent and the width as the center of the overlay.
      Parameters:
      pageView - the current PageView.
      Returns:
      the overlay for scrolling.
    • addInformation

      public void addInformation(com.google.gwt.user.client.ui.IsWidget widget)
    • removeInformation

      public void removeInformation()
    • fadeOut

      public void fadeOut()