Class DataSetSummaryView
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.dashbuilder.client.widgets.dataset.explorer.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
-
-
Constructor Summary
Constructors Constructor Description DataSetSummaryView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(DataSetSummary presenter)DataSetSummary.ViewshowSizePanel(String backendSizeRow, String clientSizeKb)Displays some data set feature's sizes in a panel.DataSetSummary.ViewshowSizePanelIcon(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.ViewshowStatusPanel(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
-
-
-
-
Method Detail
-
init
public void init(DataSetSummary presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<DataSetSummary>
-
showStatusPanel
public DataSetSummary.View showStatusPanel(Boolean backendCacheStatus, Boolean pushEnabled, Boolean _refreshStatus)
Description copied from interface:DataSetSummary.ViewDisplays 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:
showStatusPanelin interfaceDataSetSummary.View- Parameters:
backendCacheStatus- The status for the backend cache. Ifnull, the widget for the status will be not displayed.pushEnabled- The status for the client push feature. Ifnull, the widget for the status will be not displayed._refreshStatus- The status for the refresh feature. Ifnull, the widget for the status will be not displayed.- Returns:
- The view instance.
-
showSizePanelIcon
public DataSetSummary.View showSizePanelIcon(org.gwtbootstrap3.client.ui.constants.IconType type, String title, String color, boolean spin)
Description copied from interface:DataSetSummary.ViewDisplays an icon icon in the size panel such as a loading or error icon.
- Specified by:
showSizePanelIconin interfaceDataSetSummary.View- Returns:
- The view instance.
-
showSizePanel
public DataSetSummary.View showSizePanel(String backendSizeRow, String clientSizeKb)
Description copied from interface:DataSetSummary.ViewDisplays some data set feature's sizes in a panel.
- Specified by:
showSizePanelin interfaceDataSetSummary.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.
-
-