Class DataSetSummaryView

  • 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, DataSetSummary.View, org.uberfire.client.mvp.HasPresenter<DataSetSummary>, org.uberfire.client.mvp.UberView<DataSetSummary>

    @Dependent
    public class DataSetSummaryView
    extends com.google.gwt.user.client.ui.Composite
    implements DataSetSummary.View

    Default view for DataSetSummary presenter.

    Since:
    0.3.0
    • 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 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
      void init​(DataSetSummary presenter)  
      DataSetSummary.View showSizePanel​(String backendSizeRow, String clientSizeKb)
      Displays some data set feature's sizes in a panel.
      DataSetSummary.View showSizePanelIcon​(org.gwtbootstrap3.client.ui.constants.IconType type, String title, String color, boolean spin)
      Displays an icon icon in the size panel such as a loading or error icon.
      DataSetSummary.View showStatusPanel​(Boolean backendCacheStatus, Boolean pushEnabled, Boolean _refreshStatus)
      Displays some data set feature's status in a panel.It produces the loading icon in the status panel to be removed from parent.
      • 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 interface com.google.gwt.user.client.ui.IsWidget

        asWidget
    • Constructor Detail

      • DataSetSummaryView

        public DataSetSummaryView()
    • Method Detail

      • init

        public void init​(DataSetSummary presenter)
        Specified by:
        init in interface org.uberfire.client.mvp.HasPresenter<DataSetSummary>
      • showStatusPanel

        public DataSetSummary.View showStatusPanel​(Boolean backendCacheStatus,
                                                   Boolean pushEnabled,
                                                   Boolean _refreshStatus)
        Description copied from interface: DataSetSummary.View

        Displays some data set feature's status in a panel.It produces the loading icon in the status panel to be removed from parent.

        Specified by:
        showStatusPanel in interface DataSetSummary.View
        Parameters:
        backendCacheStatus - The status for the backend cache. If null, the widget for the status will be not displayed.
        pushEnabled - The status for the client push feature. If null, the widget for the status will be not displayed.
        _refreshStatus - The status for the refresh feature. If null, the widget for the status will be not displayed.
        Returns:
        The view instance.
      • showSizePanel

        public DataSetSummary.View showSizePanel​(String backendSizeRow,
                                                 String clientSizeKb)
        Description copied from interface: DataSetSummary.View

        Displays some data set feature's sizes in a panel.

        Specified by:
        showSizePanel in interface DataSetSummary.View
        Parameters:
        backendSizeRow - The formatted size value for backend cache (in rows).
        clientSizeKb - The formatted size value for client cache (in KByes).
        Returns:
        The view instance.