com.bbn.openmap.util.propertyEditor
Class FDUPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.bbn.openmap.util.propertyEditor.FilePropertyEditor
com.bbn.openmap.util.propertyEditor.FDUPropertyEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.beans.PropertyEditor, java.util.EventListener
public class FDUPropertyEditor
- extends FilePropertyEditor
FDUPropertyEditor - File, Directory and URL PropertyEditor. This is
a PropertyEditor that provides a text field where a URL, file path
or directory path can be entered. There is also a button that
brings up a file chooser, and anything chosen *replaces* the
contents in the text field.
Method Summary |
int |
getFileSelectionMode()
Internal callback method that can be overridden by subclasses. |
boolean |
isTextFieldEditable()
Internal callback method that can be overridden by subclasses. |
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 |
FDUPropertyEditor
public FDUPropertyEditor()
- Create FDUDirectoryPropertyEditor.
isTextFieldEditable
public boolean isTextFieldEditable()
- Internal callback method that can be overridden by subclasses.
- Overrides:
isTextFieldEditable
in class FilePropertyEditor
- Returns:
- true for FDUPropertyEditor.
getFileSelectionMode
public int getFileSelectionMode()
- Internal callback method that can be overridden by subclasses.
- Overrides:
getFileSelectionMode
in class FilePropertyEditor
- Returns:
- JFileChooser.FILES_AND_DIRECTORIES for FDUPropertyEditor.
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details