|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.toolbox.arguments.AbstractArgument
public abstract class AbstractArgument
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)
|
void |
setValue(Object value,
String propertyname)
|
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected PropertyChangeSupport pcs
protected Object value
protected String name
protected AbstractTool tool
protected String description
Constructor Detail |
---|
public AbstractArgument()
public AbstractArgument(AbstractTool tool, String name, String description, Object value)
Method Detail |
---|
protected void firePropertyChange(PropertyChangeEvent evt)
public void removePropertyChangeListener(PropertyChangeListener l)
public void addPropertyChangeListener(PropertyChangeListener l)
public Object getValue()
public void setValue(Object value, String propertyname)
public void setDescription(String description)
description
- The description to set.public String getDescription()
public void setName(String name)
name
- The name to set.public String getUsage()
public AbstractTool getTool()
public void setTool(AbstractTool tool)
public Object getArgument() throws InstantiationException
InstantiationException
public String getName()
public void setValue(Object value)
value
- The value to set.public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public abstract void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public String toString()
toString
in class Object
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |