public class FieldOption extends Object
Constructor and Description |
---|
FieldOption()
Creates a new FieldOption with no associated value or title.
|
FieldOption(String value,
String title)
Creates a new FieldOption having the given value and title.
|
Modifier and Type | Method and Description |
---|---|
String |
getTitle()
Returns the human-readable title describing the effect of this option.
|
String |
getValue()
Returns the value that will be assigned if this option is chosen.
|
void |
setTitle(String title)
Sets the human-readable title describing the effect of this option.
|
void |
setValue(String value)
Sets the value that will be assigned if this option is chosen.
|
public FieldOption()
public String getValue()
public void setValue(String value)
value
- The value to assign if this option is chosen.public String getTitle()
public void setTitle(String title)
title
- A human-readable title describing the effect of this option.Copyright © 2016. All rights reserved.