-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Toggle Button
koolskateguy89 edited this page Apr 29, 2021
·
4 revisions
The JFXToggleButton
is a material design compliant implementation of a switch for JavaFX.
JFXToggleButton
uses the default style class .jfx-toggle-button,
and defines the following CSS properties.
CSS Property | Values | Default |
---|---|---|
-jfx-toggle-color | color | #009688 |
-jfx-untoggle-color | color | #FAFAFA |
-jfx-toggle-line-color | color | #77C2BB |
-jfx-untoggle-line-color | color | #999999 |
-jfx-size | number | 10.0 |
-jfx-disable-visual-focus | true, false | false |
.jfx-toggle-button {
-jfx-toggle-color: #009688;
-jfx-untoggle-color: #FAFAFA;
-jfx-toggle-line-color: #77C2BB;
-jfx-untoggle-line-color: #999999;
-jfx-size: 10.0;
-jfx-disable-visual-focus: false;
}
- Introduction
-
Basic Components
- Button
- Check Box
- Combo Box
- Hamburger
- Input Fields
- Progress Bar
- Radio Button
- Rippler
- Scroll Pane
- Slider
- Spinner
- Tab Pane
- Toggle Button
-
Advanced Components
- Badge
- Decorator
- Dialog
- Drawer
- List View
- Masonry
- Pickers
- Popup
- Snack Bar
- Tree Table View