Package com.lowagie.toolbox.arguments
Class BitsetArgument
java.lang.Object
com.lowagie.toolbox.arguments.AbstractArgument
com.lowagie.toolbox.arguments.BitsetArgument
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,EventListener
Argument that results in a set of "1" and "0" values.
- Since:
- 2.1.1 (imported from itexttoolbox project)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JCheckBox[]
These are the different options that can be true or false.Fields inherited from class com.lowagie.toolbox.arguments.AbstractArgument
description, name, pcs, tool, value
-
Constructor Summary
ConstructorsConstructorDescriptionBitsetArgument
(AbstractTool tool, String name, String description, String[] options) Constructs an BitsetArgument. -
Method Summary
Modifier and TypeMethodDescriptionvoid
getUsage()
Give you a String that can be used in a usage description.Methods inherited from class com.lowagie.toolbox.arguments.AbstractArgument
addPropertyChangeListener, firePropertyChange, getArgument, getDescription, getName, getTool, getValue, propertyChange, removePropertyChangeListener, setDescription, setName, setTool, setValue, setValue, toString
-
Field Details
-
options
These are the different options that can be true or false.
-
-
Constructor Details
-
BitsetArgument
Constructs an BitsetArgument.- Parameters:
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 false
-
-
Method Details
-
getUsage
Description copied from class:AbstractArgument
Give you a String that can be used in a usage description.- Overrides:
getUsage
in classAbstractArgument
- Returns:
- String
- See Also:
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Specified by:
actionPerformed
in classAbstractArgument
- Parameters:
evt
- ActionEvent- See Also:
-