public class FilePickerControllerImpl extends AbstractPickerController<java.io.File> implements FilePickerController
changeListenerHelper, LOG
Constructor and Description |
---|
FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile,
javax.swing.JButton btnFile) |
FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile,
javax.swing.JButton btnFile,
java.lang.String dialogTitle) |
FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile,
javax.swing.JButton btnFile,
java.lang.String dialogTitle,
java.lang.String fileChooserID,
java.io.File initialPath,
boolean seticon) |
Modifier and Type | Method and Description |
---|---|
void |
coerceAndSet(java.lang.Object value) |
java.io.File |
get() |
boolean |
isEmpty() |
boolean |
isEnabled() |
static void |
selfRegister() |
void |
set(java.io.File value) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
void |
setFileFilter(javax.swing.filechooser.FileFilter filter) |
addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, isValid, removeAllChangeListener, removeChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable, isValid
addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListener
public FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile, javax.swing.JButton btnFile, java.lang.String dialogTitle)
public FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile, javax.swing.JButton btnFile)
public FilePickerControllerImpl(javax.swing.text.JTextComponent txtFile, javax.swing.JButton btnFile, java.lang.String dialogTitle, java.lang.String fileChooserID, java.io.File initialPath, boolean seticon)
public static void selfRegister()
public boolean isEmpty()
isEmpty
in interface PickerController<java.io.File>
isEmpty
in class AbstractPickerController<java.io.File>
public java.io.File get()
get
in interface PickerController<java.io.File>
public void set(java.io.File value)
set
in interface PickerController<java.io.File>
public void setEditable(boolean editable)
setEditable
in interface PickerController<java.io.File>
setEditable
in class AbstractPickerController<java.io.File>
public void setEnabled(boolean enabled)
setEnabled
in interface PickerController<java.io.File>
public boolean isEnabled()
isEnabled
in interface PickerController<java.io.File>
public void coerceAndSet(java.lang.Object value)
coerceAndSet
in interface PickerController<java.io.File>
public void setFileFilter(javax.swing.filechooser.FileFilter filter)
setFileFilter
in interface FilePickerController