public interface PVEnumerated
Modifier and Type | Method and Description |
---|---|
boolean |
attach(PVField pvField)
Attempt to attach to the enumerated field.
|
boolean |
choicesMutable()
Are the choices mutable.
|
void |
detach()
Remove attachment to an enumerated field.
|
String |
getChoice()
Get the choice corresponding to the current index.
|
String[] |
getChoices()
Get the current choices.
|
int |
getIndex()
Get the current index.
|
boolean |
isAttached()
Is this attached to an enumerated structure.
|
boolean |
setChoices(String[] choices)
Set the choices.
|
boolean |
setIndex(int index)
Set the index.
|
boolean attach(PVField pvField)
pvField
- The field for which to find an enumerated field,void detach()
boolean isAttached()
boolean setIndex(int index)
index
- The value.int getIndex()
String getChoice()
boolean choicesMutable()
String[] getChoices()
boolean setChoices(String[] choices)
choices
- The choices.Copyright © 2014. All Rights Reserved.