public class IlvFilePropertyEditor extends Object implements PropertyEditor
| Constructor and Description |
|---|
IlvFilePropertyEditor()
Creates a new
IlvFilePropertyEditor. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Not implemented.
|
String |
getAsText()
Returns the file name, if it exists.
|
Component |
getCustomEditor()
Returns the File selection dialog in use.
|
JFileChooser |
getFileChooser()
Deprecated.
The file property editor does not support this method.
|
FileFilter[] |
getFileFilters()
Returns the file filters used by the file chooser.
|
String |
getJavaInitializationString()
Returns null.
|
String[] |
getTags()
Returns null.
|
Object |
getValue()
Returns the selected file.
|
boolean |
isAllowMultipleSelection()
Indicates whether or not the file chooser should support multiple selection.
|
boolean |
isPaintable()
Returns false.
|
void |
paintValue(Graphics gfx,
Rectangle box)
Does nothing.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Not implemented.
|
void |
setAllowMultipleSelection(boolean allowMultipleSelection)
Deprecated.
The file property editor does not support this method.
|
void |
setAsText(String text)
Sets the selected file.
|
void |
setFileFilters(FileFilter[] filters)
Sets the file filters used by the file chooser.
|
void |
setValue(Object value)
Sets the file to edit.
|
boolean |
supportsCustomEditor()
Returns true.
|
public IlvFilePropertyEditor()
IlvFilePropertyEditor.public void setValue(Object value)
setValue in interface PropertyEditorPropertyEditor.setValue(java.lang.Object)public Object getValue()
getValue in interface PropertyEditorPropertyEditor.getValue()public boolean isPaintable()
isPaintable in interface PropertyEditorPropertyEditor.isPaintable()public void paintValue(Graphics gfx, Rectangle box)
paintValue in interface PropertyEditorPropertyEditor.paintValue(java.awt.Graphics, java.awt.Rectangle)public String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorPropertyEditor.getJavaInitializationString()public String getAsText()
getAsText in interface PropertyEditorPropertyEditor.getAsText()public void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionPropertyEditor.setAsText(java.lang.String)public String[] getTags()
getTags in interface PropertyEditorPropertyEditor.getTags()public Component getCustomEditor()
getCustomEditor in interface PropertyEditorPropertyEditor.getCustomEditor()public boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorPropertyEditor.supportsCustomEditor()public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyEditorPropertyEditor.addPropertyChangeListener(java.beans.PropertyChangeListener)public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyEditorPropertyEditor.removePropertyChangeListener(java.beans.PropertyChangeListener)public void setFileFilters(FileFilter[] filters)
filters - FileFilter array to use.public FileFilter[] getFileFilters()
public boolean isAllowMultipleSelection()
@Deprecated public void setAllowMultipleSelection(boolean allowMultipleSelection)
allowMultipleSelection - true if the file chooser should support multiple selection.@Deprecated public JFileChooser getFileChooser()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.