Save This Page
Home » iText-src-2.1.3 » com.lowagie » tools » arguments » [javadoc | source]
com.lowagie.tools.arguments
public class: OptionArgument [javadoc | source]
java.lang.Object
   com.lowagie.tools.arguments.ToolArgument
      com.lowagie.tools.arguments.OptionArgument

All Implemented Interfaces:
    ActionListener

Direct Known Subclasses:
    PageSizeArgument

Argument that can be one of several options.
Nested Class Summary:
public class  OptionArgument.Entry  An Entry that can be chosen as option. 
Fields inherited from com.lowagie.tools.arguments.ToolArgument:
tool,  description,  name,  classname,  value
Constructor:
 public OptionArgument(AbstractTool tool,
    String name,
    String description) 
    Constructs an OptionArgument.
    Parameters:
    tool - the tool that needs this argument
    name - the name of the argument
    description - the description of the argument
Method from com.lowagie.tools.arguments.OptionArgument Summary:
actionPerformed,   addOption,   getArgument,   getUsage
Methods from com.lowagie.tools.arguments.ToolArgument:
actionPerformed,   getArgument,   getClassname,   getDescription,   getName,   getUsage,   getValue,   setClassname,   setDescription,   setName,   setValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.tools.arguments.OptionArgument Detail:
 public  void actionPerformed(ActionEvent evt) 
 public  void addOption(Object description,
    Object value) 
    Adds an Option.
 public Object getArgument() throws InstantiationException 
    Gets the argument as an object.
 public String getUsage()