public class Accordion extends DivWidget
It's a container of AccordionGroup.
<b:Accordion>
<b:AccordionGroup heading="One">
<b:Paragraph>one</b:Paragraph>
<b:Paragraph>two</b:Paragraph>
</b:AccordionGroup>
<b:AccordionGroup heading="Defalut Open" defaultOpen="true">
<b:Paragraph>The default opened Accordion</b:Paragraph>
</b:AccordionGroup>
<b:AccordionGroup defaultOpen="true" heading="With Icon" icon="GITHUB">
<b:Paragraph>Icon style</b:Paragraph>
</b:AccordionGroup>
<b:AccordionGroup heading="With Custom Icon">
<b:customTrigger>
<b:Image addStyleNames="{style.icon}" resource="{res.logo}"/>
</b:customTrigger>
<b:Paragraph>Custom Icon Style</b:Paragraph>
</b:AccordionGroup>
</b:Accordion>
Accordion,
Collapse,
CollapseTrigger,
Twitter Bootstrap documentUIObject.DebugIdImpl, UIObject.DebugIdImplEnabledInsertPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
Accordion()
Create an empty widget.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(IsWidget child) |
void |
add(Widget w) |
addStyle, getId, pullRight, removeStyle, setHideOn, setId, setPullRight, setShowOn, setStyleadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWidgetIndexgetWidget, getWidgetCount, getWidgetIndex, removepublic Accordion()
public void add(IsWidget child)
add in interface HasWidgets.ForIsWidgetadd in interface InsertPanel.ForIsWidgetadd in class Panelpublic void add(Widget w)
add in interface HasWidgetsadd in interface InsertPaneladd in class FlowPanelCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.