com.l2fprod.common.beans.editor
Class FilePropertyEditor

java.lang.Object
  extended by com.l2fprod.common.beans.editor.AbstractPropertyEditor
      extended by 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
           
 
Fields inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor
editor
 
Constructor Summary
FilePropertyEditor()
           
FilePropertyEditor(boolean asTableEditor)
           
 
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
 

Field Detail

textfield

protected javax.swing.JTextField textfield
Constructor Detail

FilePropertyEditor

public FilePropertyEditor()

FilePropertyEditor

public FilePropertyEditor(boolean asTableEditor)
Method Detail

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()