java.lang.Object
com.lowagie.toolbox.arguments.AbstractArgument
com.lowagie.toolbox.arguments.ImageArgument
- All Implemented Interfaces:
ActionListener,PropertyChangeListener,EventListener
StringArgument class if the argument is a com.lowagie.text.Image.
- Since:
- 2.1.1 (imported from itexttoolbox project)
-
Field Summary
Fields inherited from class com.lowagie.toolbox.arguments.AbstractArgument
description, name, pcs, tool, value -
Constructor Summary
ConstructorsConstructorDescriptionImageArgument(AbstractTool tool, String name, String description) Constructs a FileArgument.ImageArgument(AbstractTool tool, String name, String description, FileFilter filter) Constructs a FileArgument. -
Method Summary
Modifier and TypeMethodDescriptionvoidGets the argument as an object.Methods inherited from class com.lowagie.toolbox.arguments.AbstractArgument
addPropertyChangeListener, firePropertyChange, getDescription, getName, getTool, getUsage, getValue, propertyChange, removePropertyChangeListener, setDescription, setName, setTool, setValue, setValue, toString
-
Constructor Details
-
ImageArgument
Constructs a FileArgument.- Parameters:
tool- the tool that needs this argumentname- the name of the argumentdescription- the description of the argumentfilter- a custom filter
-
ImageArgument
Constructs a FileArgument.- Parameters:
tool- the tool that needs this argumentname- the name of the argumentdescription- the description of the argument
-
-
Method Details
-
getArgument
Gets the argument as an object.- Overrides:
getArgumentin classAbstractArgument- Returns:
- an object
- Throws:
InstantiationException- if the specified key cannot be compared with the keys currently in the map
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Specified by:
actionPerformedin classAbstractArgument- Parameters:
e- ActionEvent- See Also:
-