OptionItemBuilders.NumericOptionItemBuilder
instead.public static class OptionItemSpec.NumericOptionItemBuilder
extends java.lang.Object
NumericOptionItem
.Constructor and Description |
---|
NumericOptionItemBuilder(android.content.Context context)
Deprecated.
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
NumericOptionItem |
build()
Deprecated.
Builds the item.
|
OptionItemSpec.NumericOptionItemBuilder |
setInputType(int inputType)
Deprecated.
Sets input type for this item.
|
OptionItemSpec.NumericOptionItemBuilder |
setItemId(int id)
Deprecated.
Sets an id for this item.
|
OptionItemSpec.NumericOptionItemBuilder |
setLabel(java.lang.String label)
Deprecated.
Sets a label for this item.
|
public NumericOptionItemBuilder(android.content.Context context)
context
- an activity or application context.public OptionItemSpec.NumericOptionItemBuilder setLabel(java.lang.String label)
label
- the label to set.public OptionItemSpec.NumericOptionItemBuilder setItemId(int id)
id
- the id to set.public OptionItemSpec.NumericOptionItemBuilder setInputType(int inputType)
inputType
- the input type to use.public NumericOptionItem build()