public class AccordionLayoutContainer extends InsertResizeContainer implements HasOneWidget
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccordionLayoutContainer.AccordionLayoutAppearance |
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledInsertPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
AccordionLayoutContainer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getActiveOnTop()
Returns true if the active item if first.
|
Widget |
getWidget() |
boolean |
isFill()
Returns true if fill is enabled.
|
boolean |
isHideCollapseTool()
Returns true if the collapse tool is hidden.
|
boolean |
isTitleCollapse()
Returns true if title collapse is enabled.
|
void |
setActiveOnTop(boolean activeOnTop)
True to swap the position of each panel as it is expanded so that it
becomes the first item in the container, false to keep the panels in the
rendered order.
|
void |
setFill(boolean fill)
True to adjust the active item's height to fill the available space in the
container, false to use the item's current height (defaults to true).
|
void |
setHideCollapseTool(boolean hideCollapseTool)
True to hide the contained panels' collapse/expand toggle buttons, false to
display them (defaults to false).
|
void |
setTitleCollapse(boolean titleCollapse)
True to allow expand/collapse of each contained panel by clicking anywhere
on the title bar, false to allow expand/collapse only when the toggle tool
button is clicked (defaults to true).
|
void |
setWidget(IsWidget w) |
void |
setWidget(Widget w) |
insert, insertforceLayout, isLayoutRunning, isOrWasLayoutRunning, onResizeadd, add, addAddHandler, addBeforeAddHandler, addBeforeRemoveHandler, addContainerHandler, addRemoveHandler, clear, disable, enable, findWidget, getItemByItemId, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, iterator, remove, remove, removeaddBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disableEvents, 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 boolean getActiveOnTop()
public Widget getWidget()
getWidget in interface HasOneWidgetpublic boolean isFill()
public boolean isHideCollapseTool()
public boolean isTitleCollapse()
public void setActiveOnTop(boolean activeOnTop)
activeOnTop - true to keep the active item on toppublic void setFill(boolean fill)
fill - true to fillpublic void setHideCollapseTool(boolean hideCollapseTool)
titleCollapse
should be true also.hideCollapseTool - true to hidepublic void setTitleCollapse(boolean titleCollapse)
hideCollapseTool should be false also.titleCollapse - true for title collapsepublic void setWidget(IsWidget w)
setWidget in interface AcceptsOneWidgetpublic void setWidget(Widget w)
setWidget in interface HasOneWidgetCopyright © 2012. All Rights Reserved.