filmov
tv
JavaFX Material Design JFoenix Tutorial 47 - JFXButton
Показать описание
JavaFX Material Design JFoenix Tutorial JFXButton
JFXButton
The JFXButton is a material design compliant implementation of a button for JavaFX.
JFXButton is the material design implementation of a button. it contains ripple effect , the effect color is set according to text fill of the button 1st or the text fill of graphic node
tyling JFXButton
JFXButton uses the the default style class .jfx-button and defines the following CSS properties.
/*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;
}
JFXButton
The JFXButton is a material design compliant implementation of a button for JavaFX.
JFXButton is the material design implementation of a button. it contains ripple effect , the effect color is set according to text fill of the button 1st or the text fill of graphic node
tyling JFXButton
JFXButton uses the the default style class .jfx-button and defines the following CSS properties.
/*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;
}