Package com.lowagie.toolbox.arguments
Class BitsetArgument
- java.lang.Object
-
- com.lowagie.toolbox.arguments.AbstractArgument
-
- com.lowagie.toolbox.arguments.BitsetArgument
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.util.EventListener
public class BitsetArgument extends AbstractArgument
Argument that results in a set of "1" and "0" values.- Since:
- 2.1.1 (imported from itexttoolbox project)
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JCheckBox[]optionsThese 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
Constructors Constructor Description BitsetArgument(AbstractTool tool, java.lang.String name, java.lang.String description, java.lang.String[] options)Constructs an BitsetArgument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent evt)java.lang.StringgetUsage()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
-
-
-
-
Constructor Detail
-
BitsetArgument
public BitsetArgument(AbstractTool tool, java.lang.String name, java.lang.String description, java.lang.String[] options)
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 Detail
-
getUsage
public java.lang.String getUsage()
Description copied from class:AbstractArgumentGive you a String that can be used in a usage description.- Overrides:
getUsagein classAbstractArgument- Returns:
- String
- See Also:
AbstractArgument.getUsage()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Specified by:
actionPerformedin classAbstractArgument- Parameters:
evt- ActionEvent- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
-
-