public abstract class DT_FILESelection extends Variable implements VariableIF
VariableIF.ACCESS_MODE, VariableIF.ACCESS_USER_TYPES
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.JFileChooser |
fileChooser |
protected javax.swing.JTextField |
textField |
Constructor and Description |
---|
DT_FILESelection(org.w3c.dom.Element elem)
Create a new class using the given element as variable.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.awt.event.ActionListener |
getBrowseActionListener()
Get the action listener for the "browse" button.
|
javax.swing.JComponent |
getInput()
Get the input component of the variable.
|
java.lang.String |
getValue()
Get the current value of the GUI settings.
|
void |
setValue(java.lang.String val)
Set all settings of this variable to the default.
|
addAdoptListener, getComment, getCurrentValue, getDefaultComponent, getDefaultValue, getDescription, getElementValue, getLabel, getResetComponent, getVariable, hasAccessRight, isChanged, isDefault, isEnvironment, isGlobal, isIniFile, isKernel, isObligatory, isThereADefault, isVarEnvironment, isVarGlobal, isVarIniFile, removeAdoptListener, removeComment, reset, setChanged, setComment, setElementAccessRights, setElementToDefault, setElementValue, setToDefault, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAdoptListener, getComment, getCurrentValue, getDefaultComponent, getDescription, getLabel, getResetComponent, getVariable, hasAccessRight, isChanged, isDefault, isEnvironment, isGlobal, isIniFile, isKernel, isObligatory, removeAdoptListener, removeComment, setChanged, setComment, setElementAccessRights, setElementToDefault, setElementValue, setToDefault
protected static javax.swing.JFileChooser fileChooser
protected javax.swing.JTextField textField
public DT_FILESelection(org.w3c.dom.Element elem)
elem
- the variable.public javax.swing.JComponent getInput()
getInput
in interface VariableIF
getInput
in class Variable
public void setValue(java.lang.String val)
public java.lang.String getValue()
getValue
in interface VariableIF
protected abstract java.awt.event.ActionListener getBrowseActionListener()