ar.com.da.beans
Class FileEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by ar.com.da.beans.FileEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
DirectoryEditor

public class FileEditor
extends java.beans.PropertyEditorSupport


Constructor Summary
FileEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 java.awt.Component getCustomEditor()
           
 javax.swing.filechooser.FileFilter getFileFilter()
           
 int getFileSelectionMode()
           
 java.lang.Object getValue()
           
 boolean isOpenDialog()
           
 void setAsText(java.lang.String text)
           
 void setFileFilter(javax.swing.filechooser.FileFilter fileFilter)
           
 void setFileSelectionMode(int mode)
           
 void setOpenDialog(boolean openDialog)
           
 void setValue(java.lang.Object value)
           
 void showChooser()
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEditor

public FileEditor()
Method Detail

showChooser

public void showChooser()

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.beans.PropertyEditor
Overrides:
getValue in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface java.beans.PropertyEditor
Overrides:
setValue in class java.beans.PropertyEditorSupport

getCustomEditor

public java.awt.Component getCustomEditor()
Specified by:
getCustomEditor in interface java.beans.PropertyEditor
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport

setFileSelectionMode

public void setFileSelectionMode(int mode)

getFileSelectionMode

public int getFileSelectionMode()

setFileFilter

public void setFileFilter(javax.swing.filechooser.FileFilter fileFilter)

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()

isOpenDialog

public boolean isOpenDialog()

setOpenDialog

public void setOpenDialog(boolean openDialog)


Copyright © 2006 null. All Rights Reserved.