public class OptionParameter
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
OptionParameter(java.util.Hashtable<java.lang.String,java.lang.String> m_pOptions)
Creates an
OptionsParameter object with the specified option values. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Not implemented at the moment.
|
void |
setLabelValue(java.lang.String pLabelValue)
Sets the option value of this object by specifying the label of the option.
|
public OptionParameter(java.util.Hashtable<java.lang.String,java.lang.String> m_pOptions)
OptionsParameter
object with the specified option values. TO DO: Also the current value should be set.
TO DO: It should be possible to say that no value must be chosen. A default value could be defined.m_pOptions
- The options that should be represented by this OptionParameter
object.public void setLabelValue(java.lang.String pLabelValue)
pLabelValue
- The label of the option that should be represented by this object.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- The event that triggers this method.