public abstract class BoxLayoutContainer extends InsertResizeContainer
| Modifier and Type | Class and Description |
|---|---|
static interface |
BoxLayoutContainer.BoxLayoutContainerAppearance |
static class |
BoxLayoutContainer.BoxLayoutData |
static class |
BoxLayoutContainer.BoxLayoutPack
BoxLayoutPack enumeration.
|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledInsertPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
BoxLayoutContainer() |
BoxLayoutContainer(BoxLayoutContainer.BoxLayoutContainerAppearance appearance) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IsWidget child,
BoxLayoutContainer.BoxLayoutData layoutData) |
BoxLayoutContainer.BoxLayoutPack |
getPack()
Returns the layouts pack value.
|
Padding |
getPadding() |
int |
getScrollOffset()
Returns the scroll offset.
|
void |
insert(IsWidget w,
int beforeIndex,
BoxLayoutContainer.BoxLayoutData layoutData) |
boolean |
isAdjustForFlexRemainder()
Returns true if the remaining space after flex calculation is applied to
the last widget being flexed.
|
void |
setAdjustForFlexRemainder(boolean adjustForFlexRemainder)
Set to true if the remaining space after flex calculation should be applied
to the last widget being flexed.
|
void |
setPack(BoxLayoutContainer.BoxLayoutPack pack)
Sets how the child items of the container are packed together.
|
void |
setPadding(Padding padding) |
void |
setScrollOffset(int scrollOffset)
Sets the scroll offset (defaults to 0).
|
insert, insertforceLayout, isLayoutRunning, isOrWasLayoutRunning, onResizeadd, add, addAddHandler, addBeforeAddHandler, addBeforeRemoveHandler, addContainerHandler, addRemoveHandler, clear, findWidget, getItemByItemId, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, iterator, remove, remove, removeaddBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hide, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, onBrowserEvent, removeHandler, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmaskaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEventsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddaddgetWidgetIndexgetWidget, getWidgetCount, getWidgetIndex, removepublic BoxLayoutContainer()
public BoxLayoutContainer(BoxLayoutContainer.BoxLayoutContainerAppearance appearance)
@UiChild(tagname="child") public void add(IsWidget child, BoxLayoutContainer.BoxLayoutData layoutData)
public BoxLayoutContainer.BoxLayoutPack getPack()
public Padding getPadding()
public int getScrollOffset()
public void insert(IsWidget w, int beforeIndex, BoxLayoutContainer.BoxLayoutData layoutData)
public boolean isAdjustForFlexRemainder()
public void setAdjustForFlexRemainder(boolean adjustForFlexRemainder)
adjustForFlexRemainder - true to add the spacepublic void setPack(BoxLayoutContainer.BoxLayoutPack pack)
pack - the pack valuepublic void setPadding(Padding padding)
public void setScrollOffset(int scrollOffset)
scrollOffset - the scroll offsetCopyright © 2012. All Rights Reserved.