Package com.lowagie.toolbox.arguments
Class ColorArgument
- java.lang.Object
-
- com.lowagie.toolbox.arguments.AbstractArgument
-
- com.lowagie.toolbox.arguments.ColorArgument
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.util.EventListener
public class ColorArgument extends AbstractArgument
- 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
Constructors Constructor Description ColorArgument()
ColorArgument(AbstractTool tool, java.lang.String name, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
java.lang.Object
getArgument()
Gets 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 Detail
-
ColorArgument
public ColorArgument()
-
ColorArgument
public ColorArgument(AbstractTool tool, java.lang.String name, java.lang.String description)
-
-
Method Detail
-
getArgument
public java.lang.Object getArgument() throws java.lang.InstantiationException
Description copied from class:AbstractArgument
Gets the argument as an object.- Overrides:
getArgument
in classAbstractArgument
- Returns:
- an object
- Throws:
java.lang.InstantiationException
- if the specified key cannot be compared with the keys currently in the map
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Specified by:
actionPerformed
in classAbstractArgument
-
-