Class GoogleChartDisplayerView<P extends GoogleChartDisplayer>
- 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.displayer.client.AbstractGwtDisplayerView<P>
-
- org.dashbuilder.renderer.google.client.GoogleDisplayerView<P>
-
- org.dashbuilder.renderer.google.client.GoogleChartDisplayerView<P>
-
- 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,org.dashbuilder.displayer.client.AbstractDisplayer.View,org.dashbuilder.displayer.client.AbstractGwtDisplayer.View<P>,GoogleChartDisplayer.View<P>,GoogleDisplayer.View<P>,org.uberfire.client.mvp.HasPresenter<P>,org.uberfire.client.mvp.UberView<P>
- Direct Known Subclasses:
GoogleCategoriesDisplayerView
public abstract class GoogleChartDisplayerView<P extends GoogleChartDisplayer> extends GoogleDisplayerView<P> implements GoogleChartDisplayer.View<P>
Base class for all the Google chart like displayers
-
-
Field Summary
Fields Modifier and Type Field Description protected intheightprotected org.dashbuilder.displayer.PositionlegendPositionprotected intmarginBottomprotected intmarginLeftprotected intmarginRightprotected intmarginTopprotected org.dashbuilder.displayer.DisplayerSubTypesubTypeprotected intwidth
-
Constructor Summary
Constructors Constructor Description GoogleChartDisplayerView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.googlecode.gwt.charts.client.options.LegendcreateChartLegend()protected StringgetLegendPosition()voidsetHeight(int height)voidsetLegendPosition(org.dashbuilder.displayer.Position legendPosition)voidsetMarginBottom(int marginBottom)voidsetMarginLeft(int marginLeft)voidsetMarginRight(int marginRight)voidsetMarginTop(int marginTop)voidsetSubType(org.dashbuilder.displayer.DisplayerSubType subType)voidsetWidth(int width)-
Methods inherited from class org.dashbuilder.renderer.google.client.GoogleDisplayerView
dataAddColumn, dataClear, dataFormatDateColumn, dataFormatNumberColumn, dataRowCount, dataSetValue, dataSetValue, dataSetValue, draw, getColumnsTitle, getColumnType, getDataTable, getGroupsTitle, init, setFilterLabelSet, setRenderer, showDisplayer, showTitle
-
Methods inherited from class org.dashbuilder.displayer.client.AbstractGwtDisplayerView
cancelRefreshTimer, clear, displayMessage, enableRefreshTimer, error, errorDataSetNotFound, errorMissingHandler, errorMissingSettings, getPresenter, setId, setPresenter, setVisualization, showLoading, showVisualization
-
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
-
Methods inherited from interface org.dashbuilder.displayer.client.AbstractDisplayer.View
cancelRefreshTimer, clear, enableRefreshTimer, error, errorDataSetNotFound, errorMissingHandler, errorMissingSettings, setId, showLoading, showVisualization
-
Methods inherited from interface org.dashbuilder.renderer.google.client.GoogleDisplayer.View
dataAddColumn, dataClear, dataFormatDateColumn, dataFormatNumberColumn, dataRowCount, dataSetValue, dataSetValue, dataSetValue, draw, getColumnsTitle, getGroupsTitle, setFilterLabelSet, showTitle
-
-
-
-
Field Detail
-
width
protected int width
-
height
protected int height
-
marginTop
protected int marginTop
-
marginBottom
protected int marginBottom
-
marginRight
protected int marginRight
-
marginLeft
protected int marginLeft
-
legendPosition
protected org.dashbuilder.displayer.Position legendPosition
-
subType
protected org.dashbuilder.displayer.DisplayerSubType subType
-
-
Method Detail
-
setWidth
public void setWidth(int width)
- Specified by:
setWidthin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setHeight
public void setHeight(int height)
- Specified by:
setHeightin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setMarginTop
public void setMarginTop(int marginTop)
- Specified by:
setMarginTopin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setMarginBottom
public void setMarginBottom(int marginBottom)
- Specified by:
setMarginBottomin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setMarginRight
public void setMarginRight(int marginRight)
- Specified by:
setMarginRightin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setMarginLeft
public void setMarginLeft(int marginLeft)
- Specified by:
setMarginLeftin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setLegendPosition
public void setLegendPosition(org.dashbuilder.displayer.Position legendPosition)
- Specified by:
setLegendPositionin interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
setSubType
public void setSubType(org.dashbuilder.displayer.DisplayerSubType subType)
- Specified by:
setSubTypein interfaceGoogleChartDisplayer.View<P extends GoogleChartDisplayer>
-
createChartLegend
protected com.googlecode.gwt.charts.client.options.Legend createChartLegend()
-
getLegendPosition
protected String getLegendPosition()
-
-