|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack<File>
org.pushingpixels.flamingo.api.bcb.core.BreadcrumbFileSelector.DirCallback
public static class BreadcrumbFileSelector.DirCallback
Local file system specific implementation of the
BreadcrumbBarCallBack
.
Field Summary | |
---|---|
protected FileSystemView |
fsv
File system view. |
protected boolean |
useNativeIcons
If true , the path selectors will use native icons. |
Fields inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
throwsExceptions |
Constructor Summary | |
---|---|
BreadcrumbFileSelector.DirCallback(boolean useNativeIcons)
Creates a new callback. |
|
BreadcrumbFileSelector.DirCallback(FileSystemView fileSystemView,
boolean useNativeIcons)
Creates a new callback. |
Method Summary | |
---|---|
InputStream |
getLeafContent(File leaf)
Returns the input stream with the leaf content. |
List<StringValuePair<File>> |
getLeafs(List<BreadcrumbItem<File>> path)
Returns the choice element that corresponds to the specified path. |
List<StringValuePair<File>> |
getPathChoices(List<BreadcrumbItem<File>> path)
Returns the choice element that corresponds to the specified path. |
void |
setup()
Sets up the callback. |
Methods inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
setThrowsExceptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FileSystemView fsv
protected boolean useNativeIcons
true
, the path selectors will use native icons.
Constructor Detail |
---|
public BreadcrumbFileSelector.DirCallback(boolean useNativeIcons)
useNativeIcons
- If true
, the path selectors will use native
icons.public BreadcrumbFileSelector.DirCallback(FileSystemView fileSystemView, boolean useNativeIcons)
fileSystemView
- File system view to use.useNativeIcons
- If true
, the path selectors will use native
icons.Method Detail |
---|
public void setup()
BreadcrumbBarCallBack
setup
in class BreadcrumbBarCallBack<File>
public List<StringValuePair<File>> getPathChoices(List<BreadcrumbItem<File>> path)
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getPathChoices
in class BreadcrumbBarCallBack<File>
path
- Breadcrumb bar path.
public List<StringValuePair<File>> getLeafs(List<BreadcrumbItem<File>> path)
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getLeafs
in class BreadcrumbBarCallBack<File>
path
- Breadcrumb bar path.
public InputStream getLeafContent(File leaf)
BreadcrumbBarCallBack
null
if this is not applicable.
getLeafContent
in class BreadcrumbBarCallBack<File>
leaf
- Leaf.
null
if
this is not applicable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |