Package io.jmix.ui.widget.client.table
Class JmixScrollTableWidget.JmixScrollTableBody.JmixScrollTableRow
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
io.jmix.ui.widget.client.table.JmixScrollTableWidget.JmixScrollTableBody.JmixScrollTableRow
- 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.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.vaadin.client.ui.ActionOwner
,Iterable<com.google.gwt.user.client.ui.Widget>
- Direct Known Subclasses:
JmixGroupTableWidget.JmixGroupTableBody.JmixGroupTableRow
- Enclosing class:
- JmixScrollTableWidget.JmixScrollTableBody
protected class JmixScrollTableWidget.JmixScrollTableBody.JmixScrollTableRow
extends com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
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
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
Field Summary
Fields inherited from class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
actionKeys, applyZeroWidthFix, childWidgets, rowKey
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterAddCell
(String columnKey) protected void
beforeAddCell
(String columnKey) List<com.google.gwt.user.client.ui.Widget>
protected com.google.gwt.dom.client.Element
getElementTdOrTr
(com.google.gwt.dom.client.Element eventTarget) protected void
handleFocusAndClickEvents
(com.google.gwt.event.dom.client.DomEvent e, com.google.gwt.user.client.ui.Widget topWidget) protected void
protected boolean
protected void
initCellWithText
(String text, char align, String style, boolean textIsHTML, boolean sorted, String description, com.google.gwt.dom.client.TableCellElement td) protected void
initCellWithWidget
(com.google.gwt.user.client.ui.Widget w, char align, String style, boolean sorted, com.google.gwt.dom.client.TableCellElement td) protected boolean
isJmixTableClickableCell
(com.google.gwt.user.client.Event event) protected boolean
isJmixTableClickableCellText
(com.google.gwt.user.client.Event event) boolean
void
onBrowserEvent
(com.google.gwt.user.client.Event event) protected void
recursiveAddFocusHandler
(com.google.gwt.user.client.ui.Widget w, com.google.gwt.user.client.ui.Widget topWidget) protected void
selectRowForContextMenuActions
(com.google.gwt.user.client.Event event) void
showContextMenu
(int left, int top) void
showContextMenu
(com.google.gwt.user.client.Event event) void
protected void
updateCellStyleNames
(com.google.gwt.dom.client.TableCellElement td, String primaryStyleName) Methods inherited from class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
addCell, addCell, addCell, addCell, addCellsFromUIDL, addSpecificCell, getActions, getClient, getEventTargetTdOrTr, getIndex, getKey, getPaintableId, getRealCellWidth, getTdOrTr, getTooltip, getTooltipInfo, getWidgetForPaintable, handleClickEvent, initCellWidths, isBefore, isInViewPort, isRenderHtmlInCells, isSelected, iterator, onDetach, remove, setCellWidth, startRowDrag, updateStyleNames
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, 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, resolvePotentialElement, 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 java.lang.Iterable
forEach, spliterator
-
Field Details
-
currentColumnKey
-
selectable
protected boolean selectable
-
-
Constructor Details
-
JmixScrollTableRow
public JmixScrollTableRow(com.vaadin.client.UIDL uidl, char[] aligns)
-
-
Method Details
-
getChildWidgets
-
initCellWithWidget
protected void initCellWithWidget(com.google.gwt.user.client.ui.Widget w, char align, String style, boolean sorted, com.google.gwt.dom.client.TableCellElement td) - Overrides:
initCellWithWidget
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
recursiveAddFocusHandler
protected void recursiveAddFocusHandler(com.google.gwt.user.client.ui.Widget w, com.google.gwt.user.client.ui.Widget topWidget) -
handleFocusAndClickEvents
protected void handleFocusAndClickEvents(com.google.gwt.event.dom.client.DomEvent e, com.google.gwt.user.client.ui.Widget topWidget) -
handleFocusForWidget
protected void handleFocusForWidget() -
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEvent
in interfacecom.google.gwt.user.client.EventListener
- Overrides:
onBrowserEvent
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
isJmixTableClickableCell
protected boolean isJmixTableClickableCell(com.google.gwt.user.client.Event event) -
isJmixTableClickableCellText
protected boolean isJmixTableClickableCellText(com.google.gwt.user.client.Event event) -
getElementTdOrTr
protected com.google.gwt.dom.client.Element getElementTdOrTr(com.google.gwt.dom.client.Element eventTarget) - Overrides:
getElementTdOrTr
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
beforeAddCell
- Overrides:
beforeAddCell
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
afterAddCell
- Overrides:
afterAddCell
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
initCellWithText
protected void initCellWithText(String text, char align, String style, boolean textIsHTML, boolean sorted, String description, com.google.gwt.dom.client.TableCellElement td) - Overrides:
initCellWithText
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
updateCellStyleNames
protected void updateCellStyleNames(com.google.gwt.dom.client.TableCellElement td, String primaryStyleName) - Overrides:
updateCellStyleNames
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
showContextMenu
public void showContextMenu(com.google.gwt.user.client.Event event) - Overrides:
showContextMenu
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
showContextMenu
public void showContextMenu(int left, int top) - Overrides:
showContextMenu
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
selectRowForContextMenuActions
protected void selectRowForContextMenuActions(com.google.gwt.user.client.Event event) -
toggleSelection
public void toggleSelection()- Overrides:
toggleSelection
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-
isSelectable
public boolean isSelectable() -
hasContextMenuActions
protected boolean hasContextMenuActions()- Overrides:
hasContextMenuActions
in classcom.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
-