public interface MultiChoice
Modifier and Type | Interface and Description |
---|---|
static interface |
MultiChoice.Choices
The interface returned by getSelectedChoices;
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the bitMask.
|
byte[] |
getBitMask()
Get the current byte array for the bitMask.
|
String[] |
getChoices()
Get the current complete set of choices.
|
MultiChoice.Choices |
getSelectedChoices()
Get the currently selected set of bits.
|
int |
registerChoice(String choice)
Register a new choice string.
|
void |
setBit(int index)
Set a selected bit.
|
byte[] getBitMask()
String[] getChoices()
MultiChoice.Choices getSelectedChoices()
void setBit(int index)
index
- The bit index.void clear()
int registerChoice(String choice)
choice
- The new choice.Copyright © 2014. All Rights Reserved.