com.lowagie.tools.arguments
public class ToolArgument extends Object implements ActionListener, PropertyChangeListener
Field Summary | |
---|---|
protected String | classname type of the argument. |
protected String | description describes the argument. |
protected String | name short name for the argument. |
Vector | propertyChangeListeners |
protected AbstractTool | tool reference to the internal frame |
protected String | value value of the argument. |
Constructor Summary | |
---|---|
ToolArgument() Constructs a ToolArgument. | |
ToolArgument(AbstractTool tool, String name, String description, String classname)
Constructs a ToolArgument. |
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e) |
void | addPropertyChangeListener(PropertyChangeListener l) |
protected void | firePropertyChange(PropertyChangeEvent evt) |
Object | getArgument()
Gets the argument as an object. |
String | getClassname() |
String | getDescription() |
String | getName() |
String | getUsage()
Give you a String that can be used in a usage description. |
String | getValue() |
void | propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed.
|
void | removePropertyChangeListener(PropertyChangeListener l) |
void | setClassname(String classname) |
void | setDescription(String description) |
void | setName(String name) |
void | setValue(String value) |
void | setValue(String value, String propertyname) |
Parameters: tool the tool that needs this argument name the name of the argument description the description of the argument classname the type of the argument
See Also: java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
Returns: an object
Throws: InstantiationException
Returns: Returns the classname.
Returns: Returns the description.
Returns: Returns the name.
Returns: a String
Returns: Returns the value.
Parameters: evt A PropertyChangeEvent object describing the event source and the property that has changed.
Parameters: classname The classname to set.
Parameters: description The description to set.
Parameters: name The name to set.
Parameters: value The value to set.