com.l2fprod.common.beans.editor
Class FilePropertyEditor
java.lang.Object
com.l2fprod.common.beans.editor.AbstractPropertyEditor
com.l2fprod.common.beans.editor.FilePropertyEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
- Direct Known Subclasses:
- DirectoryPropertyEditor
public class FilePropertyEditor
- extends AbstractPropertyEditor
FilePropertyEditor.
Field Summary |
protected javax.swing.JTextField |
textfield
|
Method Summary |
protected void |
customizeFileChooser(javax.swing.JFileChooser chooser)
Placeholder for subclasses to customize the JFileChooser shown to select a
file. |
java.lang.Object |
getValue()
|
protected void |
selectFile()
|
protected void |
selectNull()
|
void |
setValue(java.lang.Object value)
|
Methods inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textfield
protected javax.swing.JTextField textfield
FilePropertyEditor
public FilePropertyEditor()
FilePropertyEditor
public FilePropertyEditor(boolean asTableEditor)
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.beans.PropertyEditor
- Overrides:
getValue
in class AbstractPropertyEditor
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interface java.beans.PropertyEditor
- Overrides:
setValue
in class AbstractPropertyEditor
selectFile
protected void selectFile()
customizeFileChooser
protected void customizeFileChooser(javax.swing.JFileChooser chooser)
- Placeholder for subclasses to customize the JFileChooser shown to select a
file.
- Parameters:
chooser
-
selectNull
protected void selectNull()