|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack<Object>
org.pushingpixels.flamingo.api.bcb.core.BreadcrumbTreeAdapterSelector.TreeCallback
public static class BreadcrumbTreeAdapterSelector.TreeCallback
Tree-adapter specific implementation of the BreadcrumbBarCallBack
.
Field Summary | |
---|---|
protected boolean |
isRootVisible
If true , the first selector shows the tree root node. |
protected BreadcrumbTreeAdapterSelector.TreeAdapter |
treeAdapter
The corresponding tree adapter. |
protected TreeModel |
treeModel
The corresponding tree model. |
Fields inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
throwsExceptions |
Constructor Summary | |
---|---|
BreadcrumbTreeAdapterSelector.TreeCallback(TreeModel treeModel,
BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter,
boolean isRootVisible)
Creates the callback. |
Method Summary | |
---|---|
InputStream |
getLeafContent(Object leaf)
Returns the input stream with the leaf content. |
List<StringValuePair<Object>> |
getLeafs(List<BreadcrumbItem<Object>> path)
Returns the choice element that corresponds to the specified path. |
List<StringValuePair<Object>> |
getPathChoices(List<BreadcrumbItem<Object>> path)
Returns the choice element that corresponds to the specified path. |
Methods inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
setThrowsExceptions, setup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TreeModel treeModel
protected BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter
null
.
protected boolean isRootVisible
true
, the first selector shows the tree root node. If
false
, the first selector shows the tree root child
nodes.
Constructor Detail |
---|
public BreadcrumbTreeAdapterSelector.TreeCallback(TreeModel treeModel, BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter, boolean isRootVisible)
treeModel
- The corresponding tree model.treeAdapter
- The corresponding tree adapter. Can not be
null
.isRootVisible
- If true
, the first selector shows the tree
root node. If false
, the first selector shows
the tree root child nodes.Method Detail |
---|
public List<StringValuePair<Object>> getPathChoices(List<BreadcrumbItem<Object>> path)
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getPathChoices
in class BreadcrumbBarCallBack<Object>
path
- Breadcrumb bar path.
public List<StringValuePair<Object>> getLeafs(List<BreadcrumbItem<Object>> path)
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getLeafs
in class BreadcrumbBarCallBack<Object>
path
- Breadcrumb bar path.
public InputStream getLeafContent(Object leaf)
BreadcrumbBarCallBack
null
if this is not applicable.
getLeafContent
in class BreadcrumbBarCallBack<Object>
leaf
- Leaf.
null
if
this is not applicable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |