public class BootstrapTreeView extends Object implements com.helger.html.hc.IHCNodeBuilder
| Constructor and Description |
|---|
BootstrapTreeView(com.helger.commons.tree.simple.DefaultTree<BootstrapTreeViewItem> aTree) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.html.hc.impl.HCNodeList |
build() |
static <DATATYPE,ITEMTYPE extends com.helger.commons.tree.simple.ITreeItem<DATATYPE,ITEMTYPE>> |
create(com.helger.commons.tree.simple.BasicTree<DATATYPE,ITEMTYPE> aTree,
com.helger.commons.convert.IUnidirectionalConverter<DATATYPE,BootstrapTreeViewItem> aConverter) |
com.helger.html.js.builder.JSArray |
getJSDataArray() |
com.helger.html.js.builder.JSAssocArray |
getJSOptions() |
com.helger.html.js.builder.JSInvocation |
getJSRemoveInvocation() |
String |
getTreeID() |
com.helger.html.js.builder.JSInvocation |
invoke() |
static void |
registerExternalResources() |
BootstrapTreeView |
setCollapseIcon(com.helger.html.hc.impl.HCHasCSSClasses aCollapseIcon) |
BootstrapTreeView |
setEmptyIcon(com.helger.html.hc.impl.HCHasCSSClasses aEmptyIcon) |
BootstrapTreeView |
setEnableLinks(boolean bEnableLinks) |
BootstrapTreeView |
setExpandIcon(com.helger.html.hc.impl.HCHasCSSClasses aExpandIcon) |
BootstrapTreeView |
setHighlightSelected(boolean bHighlightSelected) |
BootstrapTreeView |
setInitialLevels(int nInitialLevels) |
BootstrapTreeView |
setNodeIcon(com.helger.html.hc.impl.HCHasCSSClasses aNodeIcon) |
BootstrapTreeView |
setShowBorder(boolean bShowBorder) |
BootstrapTreeView |
setShowTags(boolean bShowTags) |
public BootstrapTreeView(@Nonnull com.helger.commons.tree.simple.DefaultTree<BootstrapTreeViewItem> aTree)
@Nonnull public BootstrapTreeView setCollapseIcon(@Nullable com.helger.html.hc.impl.HCHasCSSClasses aCollapseIcon)
@Nonnull public BootstrapTreeView setEmptyIcon(@Nullable com.helger.html.hc.impl.HCHasCSSClasses aEmptyIcon)
@Nonnull public BootstrapTreeView setExpandIcon(@Nullable com.helger.html.hc.impl.HCHasCSSClasses aExpandIcon)
@Nonnull public BootstrapTreeView setNodeIcon(@Nullable com.helger.html.hc.impl.HCHasCSSClasses aNodeIcon)
@Nonnull public BootstrapTreeView setEnableLinks(boolean bEnableLinks)
@Nonnull public BootstrapTreeView setHighlightSelected(boolean bHighlightSelected)
@Nonnull public BootstrapTreeView setInitialLevels(int nInitialLevels)
@Nonnull public BootstrapTreeView setShowBorder(boolean bShowBorder)
@Nonnull public BootstrapTreeView setShowTags(boolean bShowTags)
@Nonnull public com.helger.html.js.builder.JSInvocation invoke()
@Nonnull @ReturnsMutableCopy public com.helger.html.js.builder.JSArray getJSDataArray()
@Nonnull @ReturnsMutableCopy public com.helger.html.js.builder.JSAssocArray getJSOptions()
@Nullable public com.helger.html.hc.impl.HCNodeList build()
build in interface com.helger.html.hc.IHCNodeBuilderpublic static void registerExternalResources()
@Nonnull public com.helger.html.js.builder.JSInvocation getJSRemoveInvocation()
@Nonnull public static <DATATYPE,ITEMTYPE extends com.helger.commons.tree.simple.ITreeItem<DATATYPE,ITEMTYPE>> BootstrapTreeView create(@Nonnull com.helger.commons.tree.simple.BasicTree<DATATYPE,ITEMTYPE> aTree, @Nonnull com.helger.commons.convert.IUnidirectionalConverter<DATATYPE,BootstrapTreeViewItem> aConverter)
Copyright © 2014–2015 Philip Helger. All rights reserved.