Example usage for Java javafx.scene.control ToggleButton fields, constructors, methods, implement or subclass
The text is from its open source code.
ToggleButton(String text) Creates a toggle button with the specified text as its label. | |
ToggleButton() Creates a toggle button with an empty string for its label. | |
ToggleButton(String text, Node graphic) Creates a toggle button with the specified text and icon for its label. |
void | addEventHandler(final EventType Registers an event handler to this node. |
void | fire() |
Node | getGraphic() |
EventHandler | getOnAction() |
ObservableList | getStyleClass() |
ToggleGroup | getToggleGroup() |
Object | getUserData() Returns a previously set Object property, or null if no such property has been set using the Node#setUserData(java.lang.Object) method. |
boolean | isSelected() |
BooleanProperty | selectedProperty() |
void | setBorder(Border value) |
void | setGraphic(Node value) |
void | setOnAction(EventHandler |
void | setOnMouseClicked(EventHandler super MouseEvent> value) |
void | setSelected(boolean value) |
void | setText(String value) |
void | setToggleGroup(ToggleGroup value) |
void | setUserData(Object value) Convenience method for setting a single Object property that can be retrieved at a later date. |
ObjectProperty | toggleGroupProperty() |