Class Options.OptionValue
- java.lang.Object
-
- com.priint.pubserver.comet.renderer.Options.OptionValue
-
- Direct Known Subclasses:
Options.OptionListValue
- Enclosing class:
- Options
public static class Options.OptionValue extends java.lang.ObjectThe Class OptionValue.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectvalueThe value.
-
Constructor Summary
Constructors Constructor Description OptionValue(Option option, java.lang.Object value)Instantiates a new option value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptiongetOption()Gets the option.java.lang.ObjectgetValue()Gets the value.voidsetValue(java.lang.Object value)Sets the value.
-
-
-
Constructor Detail
-
OptionValue
public OptionValue(Option option, java.lang.Object value)
Instantiates a new option value.- Parameters:
option- the optionvalue- the value
-
-
Method Detail
-
getOption
public Option getOption()
Gets the option.- Returns:
- the option
-
getValue
public java.lang.Object getValue()
Gets the value.- Returns:
- the value
-
setValue
public void setValue(java.lang.Object value)
Sets the value.- Parameters:
value- the new value
-
-