Package com.lowagie.toolbox.arguments
Class OptionArgument.Entry
java.lang.Object
com.lowagie.toolbox.arguments.OptionArgument.Entry
- Enclosing class:
- OptionArgument
An Entry that can be chosen as option.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Gets the value of the String.voidsetDescription(Object description) voidtoString()String representation of the Entry.
-
Constructor Details
-
Entry
Constructs an entry.- Parameters:
value- the value of the entry (that will be identical to the description)
-
Entry
Constructs an entry.- Parameters:
description- the description of the entryvalue- the value of the entry
-
-
Method Details
-
toString
String representation of the Entry. -
getValueToString
Gets the value of the String.- Returns:
- the toString of the value
-
getDescription
- Returns:
- Returns the description.
-
setDescription
- Parameters:
description- The description to set.
-
getValue
- Returns:
- Returns the value.
-
setValue
- Parameters:
value- The value to set.
-