Java Code Examples for javafx.scene.control.RadioButton#setUserData()
The following examples show how to use
javafx.scene.control.RadioButton#setUserData() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TransfersTab.java From xframium-java with GNU General Public License v3.0 | 5 votes |
private HBox getLine (RadioButton button, TextField text) { HBox line = new HBox (10); line.getChildren ().addAll (button, text); button.setPrefWidth (LABEL_WIDTH); text.setPrefWidth (300); text.setFont (defaultFont); text.setEditable (false); text.setFocusTraversable (false); button.setUserData (text); return line; }
Example 2
Source File: TransfersTab.java From dm3270 with Apache License 2.0 | 5 votes |
private HBox getLine (RadioButton button, TextField text) { HBox line = new HBox (10); line.getChildren ().addAll (button, text); button.setPrefWidth (LABEL_WIDTH); text.setPrefWidth (300); text.setFont (defaultFont); text.setEditable (false); text.setFocusTraversable (false); button.setUserData (text); return line; }