Class TableAggregationRow
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
io.jmix.ui.widget.client.aggregation.TableAggregationRow
- 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,Iterable<com.google.gwt.user.client.ui.Widget>
public class TableAggregationRow
extends com.google.gwt.user.client.ui.Panel
Special aggregation row for
JmixScrollTableWidget and
JmixTreeTableWidget-
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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected char[]protected com.google.gwt.dom.client.Elementprotected booleanprotected List<AggregationInputFieldInfo>protected TableWidgetprotected TotalAggregationInputListenerprotected com.google.gwt.dom.client.ElementFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddCellsFromUIDL(com.vaadin.client.UIDL uidl) protected voidaddCellWithField(String text, char align, int colIndex) protected booleanaddSpecificCell(String columnId, int colIndex) protected AggregationInputFieldInfogetAggregationInputInfo(com.google.gwt.dom.client.Element input) doublegetRealCellWidth(int colIdx) protected booleanisAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex) booleanbooleanIterator<com.google.gwt.user.client.ui.Widget>iterator()voidonBrowserEvent(com.google.gwt.user.client.Event event) booleanremove(com.google.gwt.user.client.ui.Widget child) protected voidsetAlign(char align, com.google.gwt.dom.client.Element container) voidsetCellWidth(int cellIx, int width) voidsetHorizontalScrollPosition(int scrollLeft) voidsetTotalAggregationInputHandler(TotalAggregationInputListener totalAggregationInputHandler) voidupdateFromUIDL(com.vaadin.client.UIDL uidl) Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeMethods 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, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
initialized
protected boolean initialized -
aligns
protected char[] aligns -
container
protected com.google.gwt.dom.client.Element container -
tr
protected com.google.gwt.dom.client.Element tr -
tableWidget
-
totalAggregationInputHandler
-
inputsList
-
-
Constructor Details
-
Method Details
-
iterator
-
remove
public boolean remove(com.google.gwt.user.client.ui.Widget child) - Specified by:
removein interfacecom.google.gwt.user.client.ui.HasWidgets- Specified by:
removein classcom.google.gwt.user.client.ui.Panel
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener- Overrides:
onBrowserEventin classcom.google.gwt.user.client.ui.Widget
-
updateFromUIDL
public void updateFromUIDL(com.vaadin.client.UIDL uidl) -
setCellWidth
public void setCellWidth(int cellIx, int width) -
isInitialized
public boolean isInitialized() -
setHorizontalScrollPosition
public void setHorizontalScrollPosition(int scrollLeft) -
isAggregationRowEditable
public boolean isAggregationRowEditable() -
getRealCellWidth
public double getRealCellWidth(int colIdx) -
addCellsFromUIDL
protected void addCellsFromUIDL(com.vaadin.client.UIDL uidl) -
isAggregationEditable
protected boolean isAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex) -
addSpecificCell
-
addCellWithField
-
addCell
-
setAlign
protected void setAlign(char align, com.google.gwt.dom.client.Element container) -
getAggregationInputInfo
protected AggregationInputFieldInfo getAggregationInputInfo(com.google.gwt.dom.client.Element input)
-