|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.vmutil.options.Option
org.vmutil.options.AddressOption
public class AddressOption
An option with a simple integer value.
| Field Summary | |
|---|---|
protected Address |
defaultValue
|
protected Address |
value
|
| Fields inherited from class org.vmutil.options.Option |
|---|
ADDRESS_OPTION, BOOLEAN_OPTION, ENUM_OPTION, FLOAT_OPTION, INT_OPTION, MICROSECONDS_OPTION, PAGES_OPTION, RAW, READABLE, set, STRING_OPTION, XML |
| Constructor Summary | |
|---|---|
protected |
AddressOption(OptionSet set,
String name,
String desc,
Address defaultValue)
Create a new int option. |
| Method Summary | |
|---|---|
Address |
getDefaultValue()
Read the default value of the option. |
Address |
getValue()
Read the current value of the option. |
void |
setDefaultValue(Address value)
Modify the default value of the option. |
void |
setValue(int value)
Update the value of the option, echoing the change if the echoOptions option is set. |
| Methods inherited from class org.vmutil.options.Option |
|---|
fail, failIf, getDescription, getKey, getName, getNext, getType, setNext, validate, warn, warnIf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Address defaultValue
protected Address value
| Constructor Detail |
|---|
protected AddressOption(OptionSet set,
String name,
String desc,
Address defaultValue)
set - The option set this option belongs to.name - The space separated name for the option.desc - The purpose of the optiondefaultValue - The default value of the option.| Method Detail |
|---|
public Address getValue()
public Address getDefaultValue()
public void setValue(int value)
value - The new value for the option.public void setDefaultValue(Address value)
value - The new default value for the option.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||