public class Option extends BaseObject implements Serializable
Selection
Modifier and Type | Field and Description |
---|---|
protected Boolean |
disabled |
protected String |
name |
protected Boolean |
selected |
protected String |
value |
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the option.
|
String |
getValue()
The value of the option.
|
Boolean |
isDisabled()
Used for marking the option as disabled.
|
Boolean |
isSelected()
Used for marking the option as selected.
|
void |
setDisabled(Boolean value)
Sets the value of the disabled property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSelected(Boolean value)
Sets the value of the selected property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected String value
protected String name
protected Boolean selected
protected Boolean disabled
public void setValue(String value)
value
- allowed object is
String
public void setName(String value)
value
- allowed object is
String
public Boolean isSelected()
Boolean
public void setSelected(Boolean value)
value
- allowed object is
Boolean
public Boolean isDisabled()
Boolean
Copyright © 2011–2017 aiticon GmbH. All rights reserved.