plugins.adufour.ezplug
Class EzVarFile

java.lang.Object
  extended by plugins.adufour.ezplug.EzComponent
      extended by plugins.adufour.ezplug.EzVar<java.io.File>
          extended by plugins.adufour.ezplug.EzVarFile
All Implemented Interfaces:
VarListener<java.io.File>

public class EzVarFile
extends EzVar<java.io.File>

Class defining a variable of type String, embarking a button triggering a file dialog as graphical component

Author:
Alexandre Dufour

Field Summary
 
Fields inherited from class plugins.adufour.ezplug.EzComponent
name, visible
 
Constructor Summary
EzVarFile(java.lang.String varName, java.lang.String path)
          Constructs a new input variable with given name and default file dialog path
 
Method Summary
 void setButtonText(java.lang.String text)
          Replaces the button text by the given string
 
Methods inherited from class plugins.adufour.ezplug.EzVar
addTo, addVarChangeListener, addVisibilityTriggerTo, dispose, fireVariableChanged, getDefaultValues, getValue, getValue, getVarEditor, getVariable, isEnabled, referenceChanged, removeAllVarChangeListeners, removeVarChangeListener, setDefaultValues, setEnabled, setOptional, setToolTipText, setValue, setVisible, toString, updateVisibilityChain, valueChanged
 
Methods inherited from class plugins.adufour.ezplug.EzComponent
getGroup, getVisible, isVisible, setGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EzVarFile

public EzVarFile(java.lang.String varName,
                 java.lang.String path)
Constructs a new input variable with given name and default file dialog path

Parameters:
varName - the name of the variable (as it will appear in the interface)
path - the default path to show in the file dialog
Method Detail

setButtonText

public void setButtonText(java.lang.String text)
Replaces the button text by the given string

Parameters:
text -