Java javafx.scene.control RadioButton fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.control RadioButton fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.control RadioButton.

The text is from its open source code.

Subclass

javafx.scene.control.RadioButton has subclasses.
Click this link to see all its subclasses.

Constructor

RadioButton(String text)
Creates a radio button with the specified text as its label.
RadioButton()
Creates a radio button with an empty string for its label.

Method

StringgetId()
The id of this Node .
StringgetText()
booleanisSelected()
BooleanPropertyselectedProperty()
voidsetDisable(boolean value)
voidsetId(String value)
voidsetLayoutX(double value)
voidsetLayoutY(double value)
voidsetOnAction(EventHandler value)
voidsetPrefSize(double prefWidth, double prefHeight)
Convenience method for overriding the region's computed preferred width and height.
voidsetSelected(boolean value)
voidsetText(String value)
voidsetToggleGroup(ToggleGroup value)
voidsetTooltip(Tooltip value)
voidsetUserData(Object value)
Convenience method for setting a single Object property that can be retrieved at a later date.