com.lowagie.toolbox.arguments
public abstract class AbstractArgument extends Object implements ActionListener, PropertyChangeListener
Since: 2.1.1 (imported from itexttoolbox project)
| Field Summary | |
|---|---|
| protected String | description describes the argument. |
| protected String | name short name for the argument. |
| protected PropertyChangeSupport | pcs |
| protected AbstractTool | tool reference to the internal frame |
| protected Object | value value of the argument. |
| Constructor Summary | |
|---|---|
| AbstractArgument() | |
| AbstractArgument(AbstractTool tool, String name, String description, Object value) | |
| Method Summary | |
|---|---|
| abstract void | actionPerformed(ActionEvent e) |
| void | addPropertyChangeListener(PropertyChangeListener l) |
| protected void | firePropertyChange(PropertyChangeEvent evt) |
| Object | getArgument()
Gets the argument as an object.
|
| String | getDescription() |
| String | getName() |
| AbstractTool | getTool() |
| String | getUsage()
Give you a String that can be used in a usage description.
|
| Object | getValue() |
| void | propertyChange(PropertyChangeEvent evt) |
| void | removePropertyChangeListener(PropertyChangeListener l) |
| void | setDescription(String description) |
| void | setName(String name) |
| void | setTool(AbstractTool tool) |
| void | setValue(Object value, String propertyname) |
| void | setValue(Object value) |
| String | toString()
Returns a string representation of the object.
|
Returns: an object
Throws: InstantiationException
Returns: Returns the description.
Returns: Returns the name.
Returns: a String
Returns: Returns the value.
Parameters: description The description to set.
Parameters: name The name to set.
Parameters: value The value to set.
Returns: a string representation of the object.