Class RowGrouping
- 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.google.gwt.user.client.ui.ComplexPanel
-
- com.google.gwt.user.client.ui.FlowPanel
-
- com.vaadin.addon.spreadsheet.client.GroupingWidget
-
- com.vaadin.addon.spreadsheet.client.RowGrouping
-
- 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.IndexedPanel,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget,com.google.gwt.user.client.ui.InsertPanel,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,Iterable<com.google.gwt.user.client.ui.Widget>
public class RowGrouping extends GroupingWidget
Class that represents a single row grouping indicator.- Author:
- Thomas Mattsson / Vaadin LTD
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.addon.spreadsheet.client.GroupingWidget
GroupingWidget.GroupingHandler
-
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.addon.spreadsheet.client.GroupingWidget
CONTRACT_SIGN, EXPAND_CHAR, handler, height, left, marginLeft, marginTop, SINGLE_ITEM_SIZE_HEIGHT, SINGLE_ITEM_SIZE_WIDTH, top, width
-
-
Constructor Summary
Constructors Constructor Description RowGrouping(int rowIndex, GroupingWidget.GroupingHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupingWidgetcloneWidget()protected booleanisCols()protected voidsetMargin(double size)voidsetPos(int offset, int level)Where this marker should be positioned.protected voidsetSize(double size)-
Methods inherited from class com.vaadin.addon.spreadsheet.client.GroupingWidget
copyfields, getIndex, getTotalHeight, getTotalWidth, isCollapsed, isInversed, onBrowserEvent, setCollapsed, setIndex, setInversed, setWidthPX
-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, 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, onDetach, 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 com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
RowGrouping
public RowGrouping(int rowIndex, GroupingWidget.GroupingHandler handler)- See Also:
GroupingWidget(int, GroupingHandler)
-
-
Method Detail
-
setPos
public void setPos(int offset, int level)Description copied from class:GroupingWidgetWhere this marker should be positioned.- Specified by:
setPosin classGroupingWidget- Parameters:
offset- The number of pixels from 0 (top or left) this group should be positioned.level- The level of the group, 0-based.
-
setSize
protected void setSize(double size)
- Specified by:
setSizein classGroupingWidget
-
setMargin
protected void setMargin(double size)
- Specified by:
setMarginin classGroupingWidget
-
isCols
protected boolean isCols()
- Specified by:
isColsin classGroupingWidget
-
cloneWidget
public GroupingWidget cloneWidget()
- Specified by:
cloneWidgetin classGroupingWidget
-
-