|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack<java.io.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 javax.swing.filechooser.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(javax.swing.filechooser.FileSystemView fileSystemView,
boolean useNativeIcons)
Creates a new callback. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getLeafContent(java.io.File leaf)
Returns the input stream with the leaf content. |
java.util.List<StringValuePair<java.io.File>> |
getLeafs(java.util.List<BreadcrumbItem<java.io.File>> path)
Returns the choice element that corresponds to the specified path. |
java.util.List<StringValuePair<java.io.File>> |
getPathChoices(java.util.List<BreadcrumbItem<java.io.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 javax.swing.filechooser.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(javax.swing.filechooser.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<java.io.File>public java.util.List<StringValuePair<java.io.File>> getPathChoices(java.util.List<BreadcrumbItem<java.io.File>> path)
BreadcrumbBarCallBacknull should be returned. If path is
null, the "root" elements should be returned
getPathChoices in class BreadcrumbBarCallBack<java.io.File>path - Breadcrumb bar path.
public java.util.List<StringValuePair<java.io.File>> getLeafs(java.util.List<BreadcrumbItem<java.io.File>> path)
BreadcrumbBarCallBacknull should be returned. If path is
null, the "root" elements should be returned
getLeafs in class BreadcrumbBarCallBack<java.io.File>path - Breadcrumb bar path.
public java.io.InputStream getLeafContent(java.io.File leaf)
BreadcrumbBarCallBacknull if this is not applicable.
getLeafContent in class BreadcrumbBarCallBack<java.io.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 | ||||||||