Wednesday, 30 May 2018

JavaFX: Toggle Button


ToggleButton is a button kind of widget, which can be selected. In case of normal button, on click we execute an action.  A ToggleButton on the other hand is simply a control with a Boolean indicating whether it has been selected.

      Create Toggle Button
      Add toggle buttons to a group
      Set behavior to toggle button
      Apply css styles to toggle button

Previous                                                 Next                                                 Home

No comments:

Post a Comment