public class BitsetArgument extends ToolArgument
Modifier and Type | Field and Description |
---|---|
private javax.swing.JCheckBox[] |
options
These are the different options that can be true or false.
|
classname, description, name, propertyChangeListeners, tool, value
Constructor and Description |
---|
BitsetArgument(AbstractTool tool,
java.lang.String name,
java.lang.String description,
java.lang.String[] options)
Constructs an BitsetArgument.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
java.lang.Object |
getArgument()
Gets the argument as an object.
|
java.lang.String |
getUsage()
Give you a String that can be used in a usage description.
|
addPropertyChangeListener, firePropertyChange, getClassname, getDescription, getName, getValue, propertyChange, removePropertyChangeListener, setClassname, setDescription, setName, setValue
private javax.swing.JCheckBox[] options
public BitsetArgument(AbstractTool tool, java.lang.String name, java.lang.String description, java.lang.String[] options)
tool
- the tool that needs this argumentname
- the name of the argumentdescription
- the description of the argumentoptions
- the different options that can be true or falsepublic java.lang.Object getArgument() throws java.lang.InstantiationException
getArgument
in class ToolArgument
java.lang.InstantiationException
public java.lang.String getUsage()
ToolArgument
getUsage
in class ToolArgument
ToolArgument.getUsage()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class ToolArgument
ActionListener.actionPerformed(java.awt.event.ActionEvent)