|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.datasource.IlvFilePropertyEditor
public class IlvFilePropertyEditor
A property editor used to choose a file name.
| Constructor Summary | |
|---|---|
IlvFilePropertyEditor()
Creates a new IlvFilePropertyEditor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFilePropertyEditor()
IlvFilePropertyEditor.
| Method Detail |
|---|
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()
public void setAllowMultipleSelection(boolean allowMultipleSelection)
allowMultipleSelection - true if the file chooser should support multiple selection.public JFileChooser getFileChooser()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||