org.rubato.base
Class FileProperty

java.lang.Object
  extended by org.rubato.base.RubetteProperty
      extended by org.rubato.base.FileProperty
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable<RubetteProperty>, java.util.EventListener

public class FileProperty
extends RubetteProperty
implements java.awt.event.ActionListener


Constructor Summary
FileProperty(FileProperty property)
           
FileProperty(java.lang.String key, java.lang.String name, java.lang.String[] allowedExtensions, boolean saving)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void apply()
           
 FileProperty clone()
           
 RubetteProperty fromXML(XMLReader reader, org.w3c.dom.Element element)
           
 java.io.File getFile()
           
 javax.swing.JComponent getJComponent()
           
 java.lang.Object getValue()
           
 void revert()
           
 void setFile(java.io.File value)
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 void toXML(XMLWriter writer)
           
 
Methods inherited from class org.rubato.base.RubetteProperty
compareTo, getKey, getName, getOrder, setKey, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileProperty

public FileProperty(java.lang.String key,
                    java.lang.String name,
                    java.lang.String[] allowedExtensions,
                    boolean saving)

FileProperty

public FileProperty(FileProperty property)
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in class RubetteProperty

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class RubetteProperty

getFile

public java.io.File getFile()

setFile

public void setFile(java.io.File value)

getJComponent

public javax.swing.JComponent getJComponent()
Specified by:
getJComponent in class RubetteProperty

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

apply

public void apply()
Specified by:
apply in class RubetteProperty

revert

public void revert()
Specified by:
revert in class RubetteProperty

clone

public FileProperty clone()
Specified by:
clone in class RubetteProperty

toXML

public void toXML(XMLWriter writer)
Specified by:
toXML in class RubetteProperty

fromXML

public RubetteProperty fromXML(XMLReader reader,
                               org.w3c.dom.Element element)
Specified by:
fromXML in class RubetteProperty

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object