@Dependent @Templated public class WiresGridsDemoViewImpl extends com.google.gwt.user.client.ui.Composite implements WiresGridsDemoView
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabledWiresGridsDemoView.Presenter| Constructor and Description |
|---|
WiresGridsDemoViewImpl(org.gwtbootstrap3.client.ui.ListBox zoom,
org.gwtbootstrap3.client.ui.ListBox basicRendererSelector,
org.gwtbootstrap3.client.ui.CheckBox chkShowMerged,
org.gwtbootstrap3.client.ui.Button btnAppendRow,
org.gwtbootstrap3.client.ui.Button btnDeleteRow,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(GridWidget gridWidget)
Adds a GridWidget to the View.
|
com.google.gwt.event.shared.HandlerRegistration |
addAppendRowClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Adds a handler for when the User, interacting with the View, requests a row to be appended.
|
com.google.gwt.event.shared.HandlerRegistration |
addDeleteRowClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Adds a handler for when the User, interacting with the View, requests a row to be deleted.
|
com.google.gwt.event.shared.HandlerRegistration |
addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMergedStateValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean> handler)
Adds a handler for when the merged state of the View is changed.
|
com.google.gwt.event.shared.HandlerRegistration |
addThemeChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler)
Adds a handler for when the Theme associated with View rendering is changed.
|
com.google.gwt.event.shared.HandlerRegistration |
addZoomChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler)
Adds a handler for when the Zoom level in the View is changed.
|
GridLayer |
getGridLayer()
Gets the underlying GridLayer associated with the View.
|
GridLienzoPanel |
getGridPanel()
Gets the underlying GridLienzoPanel associated with the View.
|
Set<GridWidget> |
getGridWidgets() |
GridRendererTheme |
getSelectedTheme()
Gets the selected Theme from the View.
|
int |
getSelectedZoomLevel()
Gets the selected Zoom level from the View.
|
void |
onResize() |
void |
refresh()
Refreshes the View reflecting changes to any associated GridWidget.
|
void |
select(GridWidget selectedGridWidget) |
void |
selectLinkedColumn(GridColumn<?> selectedGridColumn) |
void |
setMergedState(boolean isMerged)
Sets the merged state of the View.
|
void |
setup() |
void |
setZoom(int zoom)
Sets the Zoom level of the View.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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@Inject
public WiresGridsDemoViewImpl(org.gwtbootstrap3.client.ui.ListBox zoom,
org.gwtbootstrap3.client.ui.ListBox basicRendererSelector,
org.gwtbootstrap3.client.ui.CheckBox chkShowMerged,
org.gwtbootstrap3.client.ui.Button btnAppendRow,
org.gwtbootstrap3.client.ui.Button btnDeleteRow,
org.jboss.errai.ui.client.local.spi.TranslationService translationService)
@PostConstruct public void setup()
public void select(GridWidget selectedGridWidget)
select in interface GridSelectionManagerpublic void selectLinkedColumn(GridColumn<?> selectedGridColumn)
selectLinkedColumn in interface GridSelectionManagerpublic Set<GridWidget> getGridWidgets()
getGridWidgets in interface GridSelectionManagerpublic void add(GridWidget gridWidget)
WiresGridsDemoViewadd in interface WiresGridsDemoViewpublic void refresh()
WiresGridsDemoViewrefresh in interface WiresGridsDemoViewpublic GridLayer getGridLayer()
WiresGridsDemoViewgetGridLayer in interface WiresGridsDemoViewpublic GridLienzoPanel getGridPanel()
WiresGridsDemoViewgetGridPanel in interface WiresGridsDemoViewpublic com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler)
addKeyDownHandler in interface com.google.gwt.event.dom.client.HasKeyDownHandlerspublic com.google.gwt.event.shared.HandlerRegistration addZoomChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler)
WiresGridsDemoViewaddZoomChangeHandler in interface WiresGridsDemoViewpublic int getSelectedZoomLevel()
WiresGridsDemoViewgetSelectedZoomLevel in interface WiresGridsDemoViewpublic void setZoom(int zoom)
WiresGridsDemoViewsetZoom in interface WiresGridsDemoViewzoom - An int based percentage, where for example 100 represents 100%. Must be positive.public com.google.gwt.event.shared.HandlerRegistration addThemeChangeHandler(com.google.gwt.event.dom.client.ChangeHandler handler)
WiresGridsDemoViewaddThemeChangeHandler in interface WiresGridsDemoViewpublic GridRendererTheme getSelectedTheme()
WiresGridsDemoViewgetSelectedTheme in interface WiresGridsDemoViewpublic com.google.gwt.event.shared.HandlerRegistration addMergedStateValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean> handler)
WiresGridsDemoViewaddMergedStateValueChangeHandler in interface WiresGridsDemoViewpublic void setMergedState(boolean isMerged)
WiresGridsDemoViewsetMergedState in interface WiresGridsDemoViewpublic com.google.gwt.event.shared.HandlerRegistration addAppendRowClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
WiresGridsDemoViewaddAppendRowClickHandler in interface WiresGridsDemoViewpublic com.google.gwt.event.shared.HandlerRegistration addDeleteRowClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
WiresGridsDemoViewaddDeleteRowClickHandler in interface WiresGridsDemoViewhandler - The handler. Cannot be null.public void onResize()
onResize in interface com.google.gwt.user.client.ui.RequiresResizeCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.