public class JmixGridWidget
extends com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
Modifier and Type | Class and Description |
---|---|
protected class |
JmixGridWidget.JmixAutoColumnWidthsRecalculator |
static class |
JmixGridWidget.JmixAutoScroller |
protected class |
JmixGridWidget.JmixColumnHider |
static class |
JmixGridWidget.JmixEscalator |
protected class |
JmixGridWidget.JmixSelectionColumn |
protected static class |
JmixGridWidget.JmixSidebar |
protected class |
JmixGridWidget.JmixStaticSectionUpdater |
protected class |
JmixGridWidget.JmixUserSorter |
com.vaadin.client.widgets.Grid.AbstractGridKeyEvent<HANDLER extends com.vaadin.client.widget.grid.events.AbstractGridKeyEventHandler>, com.vaadin.client.widgets.Grid.AbstractGridMouseEvent<HANDLER extends com.vaadin.client.widget.grid.events.AbstractGridMouseEventHandler>, com.vaadin.client.widgets.Grid.AutoColumnWidthsRecalculator, com.vaadin.client.widgets.Grid.BodyUpdater, com.vaadin.client.widgets.Grid.Column<C,T>, com.vaadin.client.widgets.Grid.ColumnHider, com.vaadin.client.widgets.Grid.Editor<T>, com.vaadin.client.widgets.Grid.EditorDomEvent<T>, com.vaadin.client.widgets.Grid.Footer, com.vaadin.client.widgets.Grid.FooterCell, com.vaadin.client.widgets.Grid.FooterRow, com.vaadin.client.widgets.Grid.GridEvent<T>, com.vaadin.client.widgets.Grid.Header, com.vaadin.client.widgets.Grid.HeaderCell, com.vaadin.client.widgets.Grid.HeaderRow, com.vaadin.client.widgets.Grid.SelectionColumn, com.vaadin.client.widgets.Grid.Sidebar, com.vaadin.client.widgets.Grid.StaticSection<ROWTYPE extends com.vaadin.client.widgets.Grid.StaticSection.StaticRow<?>>, com.vaadin.client.widgets.Grid.StaticSectionUpdater, com.vaadin.client.widgets.Grid.UserSorter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLUMN_HIDING_TOGGLE_STYLENAME |
protected java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> |
columnIds |
protected java.lang.String |
deselectAllLabel |
protected JmixGridEmptyState |
emptyState |
protected java.lang.Runnable |
emptyStateLinkClickHandler |
static java.lang.String |
JMIX_ID_COLUMN_HIDING_TOGGLE_PREFIX |
static java.lang.String |
JMIX_ID_COLUMN_PREFIX |
static java.lang.String |
MULTI_CHECK_STYLENAME |
protected java.lang.String |
selectAllLabel |
static java.lang.String |
SORT_LAST_STYLENAME |
Constructor and Description |
---|
JmixGridWidget() |
Modifier and Type | Method and Description |
---|---|
void |
addColumnId(com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject> column,
java.lang.String id) |
protected com.vaadin.client.widgets.Grid.AutoColumnWidthsRecalculator |
createAutoColumnWidthsRecalculator() |
protected com.vaadin.client.widget.grid.AutoScroller |
createAutoScroller() |
protected com.vaadin.client.widgets.Grid.ColumnHider |
createColumnHider() |
protected com.vaadin.client.widgets.Grid.Editor<elemental.json.JsonObject> |
createEditor() |
protected com.vaadin.client.widgets.Escalator |
createEscalator() |
protected com.vaadin.client.widget.escalator.EscalatorUpdater |
createFooterUpdater() |
protected com.vaadin.client.widget.escalator.EscalatorUpdater |
createHeaderUpdater() |
protected com.vaadin.client.widgets.Grid.SelectionColumn |
createSelectionColumn(com.vaadin.client.renderers.Renderer<java.lang.Boolean> selectColumnRenderer) |
protected com.vaadin.client.widgets.Grid.Sidebar |
createSidebar() |
protected com.vaadin.client.widgets.Grid.UserSorter |
createUserSorter() |
java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> |
getColumnIds() |
java.lang.String |
getDeselectAllLabel() |
JmixGridEmptyState |
getEmptyState() |
java.lang.String |
getSelectAllLabel() |
protected boolean |
hasSelectionColumn(com.vaadin.client.widget.grid.selection.SelectionModel<elemental.json.JsonObject> selectionModel) |
protected boolean |
isClickThroughEnabled(com.google.gwt.dom.client.Element e) |
protected boolean |
isEventHandlerShouldHandleEvent(com.google.gwt.dom.client.Element targetElement,
com.vaadin.client.widgets.Grid.GridEvent<elemental.json.JsonObject> event) |
protected boolean |
isWidgetAllowsClickHandling(com.google.gwt.dom.client.Element targetElement,
com.google.gwt.dom.client.NativeEvent nativeEvent) |
protected boolean |
isWidgetFocusable(com.google.gwt.user.client.ui.Widget widget) |
protected boolean |
isWidgetOrParentFocusable(com.google.gwt.user.client.ui.Widget widget) |
void |
removeColumnId(com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject> column) |
void |
setColumnIds(java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> columnProperties) |
void |
setDeselectAllLabel(java.lang.String deselectAllLabel) |
void |
setSelectAllLabel(java.lang.String selectAllLabel) |
void |
setSelectionModel(com.vaadin.client.widget.grid.selection.SelectionModel<elemental.json.JsonObject> selectionModel) |
void |
setStylePrimaryName(java.lang.String style) |
void |
showEmptyState(boolean show) |
void |
updateFooterVisibility() |
add, addBodyClickHandler, addBodyDoubleClickHandler, addBodyKeyDownHandler, addBodyKeyPressHandler, addBodyKeyUpHandler, addBrowserEventHandler, addColumn, addColumn, addColumnReorderHandler, addColumnResizeHandler, addColumns, addColumnVisibilityChangeHandler, addDataAvailableHandler, addEnabledHandler, addFooterClickHandler, addFooterDoubleClickHandler, addFooterKeyDownHandler, addFooterKeyPressHandler, addFooterKeyUpHandler, addFooterRowAt, addHeaderClickHandler, addHeaderDoubleClickHandler, addHeaderKeyDownHandler, addHeaderKeyPressHandler, addHeaderKeyUpHandler, addHeaderRowAt, addRowHeightChangedHandler, addRowVisibilityChangeHandler, addScrollHandler, addSelectAllHandler, addSelectionAllowedHandler, addSelectionHandler, addSortHandler, addSpacerIndexChangedHandler, addSpacerVisibilityChangedHandler, appendFooterRow, appendHeaderRow, cancelEditor, clear, createBodyUpdater, deselect, deselectAll, doAttachChildren, doDetachChildren, editRow, focus, getCellReference, getCellStyleGenerator, getColumn, getColumnCount, getColumnResizeMode, getColumns, getDataSource, getDefaultHeaderRow, getDetailsGenerator, getEditor, getEditorCancelCaption, getEditorHandler, getEditorSaveCaption, getEditorWidget, getEscalator, getEventCell, getFooter, getFooterRow, getFooterRowCount, getFrozenColumnCount, getHeader, getHeaderRow, getHeaderRowCount, getHeightByRows, getHeightMode, getRowStyleGenerator, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSelectionColumn, getSelectionModel, getSidebar, getSidebarMenu, getSortOrder, getSubPartElement, getSubPartName, getTabIndex, getVisibleColumns, isColumnReorderingAllowed, isDetailsVisible, isEditorActive, isEditorBuffered, isEditorEnabled, isEnabled, isFooterVisible, isHeaderVisible, isSelected, isSidebarOpen, isWorkPending, iterator, onAttach, onBrowserEvent, onDetach, onResize, prependFooterRow, prependHeaderRow, recalculateColumnWidths, remove, removeColumn, removeFooterRow, removeFooterRow, removeHeaderRow, removeHeaderRow, requestRefreshBody, resetSizesFromDom, saveEditor, scrollToEnd, scrollToRow, scrollToRow, scrollToRow, scrollToRow, scrollToStart, select, setAccessKey, setAriaRole, setCellStyleGenerator, setColumnOrder, setColumnReorderingAllowed, setColumnResizeMode, setDataSource, setDefaultHeaderRow, setDetailsGenerator, setDetailsHeight, setDetailsVisible, setEditorBuffered, setEditorCancelCaption, setEditorEnabled, setEditorHandler, setEditorSaveCaption, setEnabled, setFocus, setFooterVisible, setFrozenColumnCount, setHeaderVisible, setHeight, setHeightByRows, setHeightMode, setRowStyleGenerator, setScrollLeft, setScrollTop, setSidebarOpen, setSortOrder, setTabIndex, setWidth, sort, sort, sort
claimElement, getWidget, initializeClaimedElement, isAttached, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
public static final java.lang.String JMIX_ID_COLUMN_PREFIX
public static final java.lang.String JMIX_ID_COLUMN_HIDING_TOGGLE_PREFIX
public static final java.lang.String SORT_LAST_STYLENAME
public static final java.lang.String COLUMN_HIDING_TOGGLE_STYLENAME
public static final java.lang.String MULTI_CHECK_STYLENAME
protected java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> columnIds
protected JmixGridEmptyState emptyState
protected java.lang.Runnable emptyStateLinkClickHandler
protected java.lang.String selectAllLabel
protected java.lang.String deselectAllLabel
public void setSelectionModel(com.vaadin.client.widget.grid.selection.SelectionModel<elemental.json.JsonObject> selectionModel)
setSelectionModel
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
public java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> getColumnIds()
public void setColumnIds(java.util.Map<com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject>,java.lang.String> columnProperties)
public void addColumnId(com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject> column, java.lang.String id)
public void removeColumnId(com.vaadin.client.widgets.Grid.Column<?,elemental.json.JsonObject> column)
public java.lang.String getSelectAllLabel()
public void setSelectAllLabel(java.lang.String selectAllLabel)
public java.lang.String getDeselectAllLabel()
public void setDeselectAllLabel(java.lang.String deselectAllLabel)
public void updateFooterVisibility()
public void showEmptyState(boolean show)
public JmixGridEmptyState getEmptyState()
protected com.vaadin.client.widgets.Grid.Editor<elemental.json.JsonObject> createEditor()
createEditor
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
public void setStylePrimaryName(java.lang.String style)
setStylePrimaryName
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected boolean isWidgetAllowsClickHandling(com.google.gwt.dom.client.Element targetElement, com.google.gwt.dom.client.NativeEvent nativeEvent)
isWidgetAllowsClickHandling
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected boolean isWidgetOrParentFocusable(com.google.gwt.user.client.ui.Widget widget)
protected boolean isWidgetFocusable(com.google.gwt.user.client.ui.Widget widget)
protected boolean isEventHandlerShouldHandleEvent(com.google.gwt.dom.client.Element targetElement, com.vaadin.client.widgets.Grid.GridEvent<elemental.json.JsonObject> event)
isEventHandlerShouldHandleEvent
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected boolean isClickThroughEnabled(com.google.gwt.dom.client.Element e)
protected com.vaadin.client.widget.escalator.EscalatorUpdater createHeaderUpdater()
createHeaderUpdater
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widget.escalator.EscalatorUpdater createFooterUpdater()
createFooterUpdater
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Grid.UserSorter createUserSorter()
createUserSorter
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Grid.Sidebar createSidebar()
createSidebar
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Escalator createEscalator()
createEscalator
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Grid.ColumnHider createColumnHider()
createColumnHider
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Grid.SelectionColumn createSelectionColumn(com.vaadin.client.renderers.Renderer<java.lang.Boolean> selectColumnRenderer)
createSelectionColumn
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected boolean hasSelectionColumn(com.vaadin.client.widget.grid.selection.SelectionModel<elemental.json.JsonObject> selectionModel)
hasSelectionColumn
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widget.grid.AutoScroller createAutoScroller()
createAutoScroller
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>
protected com.vaadin.client.widgets.Grid.AutoColumnWidthsRecalculator createAutoColumnWidthsRecalculator()
createAutoColumnWidthsRecalculator
in class com.vaadin.client.widgets.Grid<elemental.json.JsonObject>