|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.fuin.utils4swing.dialogs.DirectorySelectionPanel
public class DirectorySelectionPanel
Panel for directory selection.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
DirectorySelectionPanel(DirectorySelector destDirSelector)
This is the constructor with parent. |
|
| Method Summary | |
|---|---|
protected JButton |
getButtonCancel()
Returns the 'Cancel' button for usage as default button. |
protected JButton |
getButtonOK()
Returns the 'OK' button for usage as default button. |
String |
getDirectory()
Returns the currently selected directory. |
boolean |
isIncludeSubdirs()
Returns if sub directories should be included. |
void |
setDirectory(String directory)
Set the directory. |
void |
setIncludeSubdirsVisible(boolean b)
Set the "Include subdirectories" checkbox visible. |
void |
setTitle(String title)
Set the title. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectorySelectionPanel(DirectorySelector destDirSelector)
destDirSelector - Controller.| Method Detail |
|---|
protected final JButton getButtonOK()
protected final JButton getButtonCancel()
public final void setDirectory(String directory)
SwingUtilities.invokeAndWait(Runnable).
directory - Path for the text field.public final void setTitle(String title)
SwingUtilities.invokeAndWait(Runnable).
title - Text for the label.public final void setIncludeSubdirsVisible(boolean b)
SwingUtilities.invokeAndWait(Runnable).
b - If visible true else false.public final String getDirectory()
public final boolean isIncludeSubdirs()
true else
false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||