Modifier and Type | Method and Description |
---|---|
void |
addAction(RangeEventListener<? extends ShapeMouseEvent<OptionButton>> listener)
Adds an action for this option button.
|
Groupbox |
getGroupbox()
Returns the groupbox which the option button belongs to, or null if not exists.
|
String |
getText()
Returns the text of this option button.
|
boolean |
isChecked()
Returns whether the option button has checked or not.
|
void |
removeAction(RangeEventListener<? extends ShapeMouseEvent<OptionButton>> listener)
Removes an action for this option button.
|
void |
setText(String text)
Sets the text of this option button.
|
getIndex, getName, getShapeId, isVisible, setVisible
String getText()
void setText(String text)
boolean isChecked()
Groupbox getGroupbox()
void addAction(RangeEventListener<? extends ShapeMouseEvent<OptionButton>> listener)
listener
- void removeAction(RangeEventListener<? extends ShapeMouseEvent<OptionButton>> listener)
listener
- Copyright © 2018. All rights reserved.