Class JadiceWidget

  • All Implemented Interfaces:,,,,,,

    public class JadiceWidget
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JadiceWidget.DocumentLink  
      • Nested classes/interfaces inherited from class,
    • Field Summary

      Modifier and Type Field Description
      static JadiceWidget.DocumentLink[] DOCS
      Some links to some documents from
      protected panel  
      protected HorizontalToolbar statusbar  
      protected toolbarPanel  
      • Fields inherited from class

    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Context getContext()  
      Document getDocument()  
      PageView getPageView()  
      Viewer getViewer()  
      void onResize()  
      void readDocument​(Source src)  
      protected void registerTools()
      Register the tools and set an activation policy
      protected void setPresentationRules()
      how should the pageview behave? For example, we set a min and max zoom factor here
      protected void shapeStatusbar()  
      • 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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
    • Field Detail

      • toolbarPanel

        protected toolbarPanel
      • panel

        protected panel
    • Constructor Detail

      • JadiceWidget

        public JadiceWidget()
    • Method Detail

      • getContext

        public Context getContext()
      • registerTools

        protected void registerTools()
        Register the tools and set an activation policy

        For further information about how tools work take a look into the showcase that is shipped with the jadice webtoolkit distribution. (alternatively have a look at!DefaultTools)

      • shapeStatusbar

        protected void shapeStatusbar()
      • setPresentationRules

        protected void setPresentationRules()
        how should the pageview behave? For example, we set a min and max zoom factor here
      • readDocument

        public void readDocument​(Source src)
      • onResize

        public void onResize()
        Specified by:
        onResize in interface
      • getDocument

        public Document getDocument()
      • getPageView

        public PageView getPageView()
      • getViewer

        public Viewer getViewer()