public class RadioEntry extends EntryItem
Constructor and Description |
---|
RadioEntry(java.lang.String text)
Creates a radio with given label text
|
Modifier and Type | Method and Description |
---|---|
boolean |
getValue()
Returns the current state of the radio button.
|
boolean |
isTouched()
Returns true, if radio button widget was hit by the mouse until the last call if this method.
|
void |
setEnabled(boolean enable)
Enable/disable the button.
|
void |
setValue(boolean value)
Sets the current state of the radio button programmatically.
|
public RadioEntry(java.lang.String text)
text
- the information textpublic boolean getValue()
public void setValue(boolean value)
value
- if true, the box is checked; otherwise uncheckedpublic void setEnabled(boolean enable)
public boolean isTouched()