Top Description Fields Constructors Methods
com.headius.options

public Class IntegerOption

extends Option<Integer>
Class Inheritance

An Integer-based Option.

Field Summary

Inherited from com.headius.options.Option:
defvaltype

Constructor Summary

AccessConstructor and Description
public
IntegerOption(String prefix, String shortName, Enum<E extends Enum<E>> category, Integer[] options, Integer defval, String description)

public
IntegerOption(String longName, Enum<E extends Enum<E>> category, Integer[] options, Integer defval, String description)

public
IntegerOption(String prefix, String shortName, Enum<E extends Enum<E>> category, Integer defval, String description)

public
IntegerOption(String longName, Enum<E extends Enum<E>> category, Integer defval, String description)

Method Summary

Modifier and TypeMethod and Description
public Integer
reloadValue()

Implements abstract com.headius.options.Option.reloadValue.

Perform the appropriate load and conversion for the option's property.
Inherited from com.headius.options.Option:
boolboolboolbooldefaultValuedescriptiondisplayNameenumerationenumerationenumerationenumerationforceformatOptionsformatOptionsformatValuesformatValuesintegerintegerintegerintegerintegerintegerintegerintegerisSpecifiedloadloadPropertyoptionsprefixpropertyNamereloadshortNamestringstringstringstringstringstringstringstringtoStringtypeunforce

Constructor Detail

IntegerOptionback to summary
public IntegerOption(String prefix, String shortName, Enum<E extends Enum<E>> category, Integer[] options, Integer defval, String description)
IntegerOptionback to summary
public IntegerOption(String longName, Enum<E extends Enum<E>> category, Integer[] options, Integer defval, String description)
IntegerOptionback to summary
public IntegerOption(String prefix, String shortName, Enum<E extends Enum<E>> category, Integer defval, String description)
IntegerOptionback to summary
public IntegerOption(String longName, Enum<E extends Enum<E>> category, Integer defval, String description)

Method Detail

reloadValueback to summary
public Integer reloadValue()

Implements abstract com.headius.options.Option.reloadValue.

Doc from com.headius.options.Option.reloadValue.

Perform the appropriate load and conversion for the option's property.

Returns:Integer

the updated value after reload