public abstract class GroupingWidget
extends com.google.gwt.user.client.ui.FlowPanel
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupingWidget.GroupingHandler |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
static String |
CONTRACT_SIGN |
static String |
EXPAND_CHAR |
protected GroupingWidget.GroupingHandler |
handler |
protected double |
height |
protected int |
left |
protected double |
marginLeft |
protected double |
marginTop |
protected static int |
SINGLE_ITEM_SIZE_HEIGHT |
protected static int |
SINGLE_ITEM_SIZE_WIDTH |
protected int |
top |
protected double |
width |
| Constructor and Description |
|---|
GroupingWidget(int index,
GroupingWidget.GroupingHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract GroupingWidget |
cloneWidget() |
protected void |
copyfields(GroupingWidget newWidget) |
int |
getIndex() |
static int |
getTotalHeight(int maxGrouping) |
static int |
getTotalWidth(int maxGrouping) |
boolean |
isCollapsed() |
protected abstract boolean |
isCols() |
boolean |
isInversed() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
setCollapsed(boolean collapsed) |
void |
setIndex(int i) |
void |
setInversed(boolean inversed) |
protected abstract void |
setMargin(double size) |
abstract void |
setPos(int offset,
int level)
Where this marker should be positioned.
|
protected abstract void |
setSize(double size) |
void |
setWidthPX(double w) |
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWidgetIndexgetWidget, getWidgetCount, getWidgetIndex, removeforEach, spliteratorprotected static final int SINGLE_ITEM_SIZE_HEIGHT
protected static final int SINGLE_ITEM_SIZE_WIDTH
public static final String EXPAND_CHAR
public static final String CONTRACT_SIGN
protected GroupingWidget.GroupingHandler handler
protected int top
protected int left
protected double marginLeft
protected double marginTop
protected double width
protected double height
public GroupingWidget(int index,
GroupingWidget.GroupingHandler handler)
index - Unique index for the group, 0-based. This index is used on
server side when collapsing/expanding the group.handler - The gateway to the server sidepublic void setWidthPX(double w)
protected abstract void setSize(double size)
protected abstract void setMargin(double size)
public void setCollapsed(boolean collapsed)
public boolean isCollapsed()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetprotected abstract boolean isCols()
public abstract void setPos(int offset,
int level)
offset - The number of pixels from 0 (top or left) this group should be
positioned.level - The level of the group, 0-based.public static int getTotalHeight(int maxGrouping)
public static int getTotalWidth(int maxGrouping)
public void setIndex(int i)
public int getIndex()
public boolean isInversed()
public void setInversed(boolean inversed)
protected abstract GroupingWidget cloneWidget()
protected void copyfields(GroupingWidget newWidget)
Copyright © 2013–2026 Vaadin Ltd. All rights reserved.