Package ca.corbett.extras.demo.panels
Class DirTreeDemoPanel
java.lang.Object
ca.corbett.extras.demo.panels.PanelBuilder
ca.corbett.extras.demo.panels.DirTreeDemoPanel
A demo panel for the DirTree component, to show off some of its capabilities.
DirTree is a pretty handy UI component for allowing users of an application to
graphically navigate a file system. You can even (via right-click popup menu)
"lock" the DirTree to a specific subdirectory, so that the user can only
navigate within that subdirectory.
- Author:
- scorbo2
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.corbett.extras.demo.panels.PanelBuilder
buildFormPanel, buildFormPanel, buildHighlightedHeaderLabel, createSnippetLabel, createSnippetLabel
-
Constructor Details
-
DirTreeDemoPanel
public DirTreeDemoPanel()
-
-
Method Details
-
getTitle
Description copied from class:PanelBuilderReturns a name for this PanelBuilder.- Specified by:
getTitlein classPanelBuilder- Returns:
- A hopefully descriptive name.
-
build
Description copied from class:PanelBuilderBuilds and returns the FormPanel (or technically any JPanel) for this builder.- Specified by:
buildin classPanelBuilder- Returns:
- A populated JPanel (or FormPanel).
-