-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Button
koolskateguy89 edited this page Apr 29, 2021
·
3 revisions
The JFXButton
is a material design compliant implementation of a button for JavaFX.
JFXButton
uses the default style class .jfx-button
and defines the following CSS properties.
CSS Property | Values | Default |
---|---|---|
-jfx-button-type | FLAT, RAISED | FLAT |
-jfx-disable-visual-focus | true, false | false |
/*Flat button example */
.jfx-button {
-jfx-button-type: FLAT;
-fx-background-color: white;
-fx-text-fill: black;
}
/*Raised button example */
.jfx-button {
-jfx-button-type: RAISED;
-fx-background-color: blue;
-fx-text-fill: white;
}
- 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