|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
com.bbn.openmap.util.propertyEditor.FilePropertyEditor
com.bbn.openmap.util.propertyEditor.MultiDirectoryPropertyEditor
public class MultiDirectoryPropertyEditor
A PropertyEditor that brings up a JFileChooser panel that allows the user to choose one or more directories. The user can also enter information in the text field, and pressing the add button will bring up a file chooser. Anything chosen in the file chooser will be appended to what is currently in the text field.
| Field Summary | |
|---|---|
protected char |
pathSeparator
|
| Fields inherited from class com.bbn.openmap.util.propertyEditor.FilePropertyEditor |
|---|
button, textField |
| Constructor Summary | |
|---|---|
MultiDirectoryPropertyEditor()
Create MultiDirectoryPropertyEditor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
append(java.lang.String addPath)
Add a path to the end of the current path. |
java.lang.String |
getButtonTitle()
Internal callback method that can be overridden by subclasses. |
int |
getFileSelectionMode()
Internal callback method that can be overridden by subclasses. |
char |
getPathSeparator()
|
boolean |
isMultiSelectEnabled()
Internal callback method that can be overridden by subclasses. |
boolean |
isTextFieldEditable()
Internal callback method that can be overridden by subclasses. |
void |
setPathSeparator(char c)
Set the character to use when appending paths. |
| Methods inherited from class com.bbn.openmap.util.propertyEditor.FilePropertyEditor |
|---|
cleanUpName, getAsText, getCustomEditor, getFileChooser, getLastLocation, setValue, supportsCustomEditor |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected char pathSeparator
| Constructor Detail |
|---|
public MultiDirectoryPropertyEditor()
| Method Detail |
|---|
public java.lang.String getButtonTitle()
FilePropertyEditor
getButtonTitle in class FilePropertyEditorpublic boolean isTextFieldEditable()
isTextFieldEditable in class FilePropertyEditorpublic int getFileSelectionMode()
getFileSelectionMode in class FilePropertyEditorpublic boolean isMultiSelectEnabled()
isMultiSelectEnabled in class FilePropertyEditorpublic void setPathSeparator(char c)
public char getPathSeparator()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FilePropertyEditorpublic void append(java.lang.String addPath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||