https://github.com/gleidsonmt/gnbutton
JavaFx Custom Button animated
https://github.com/gleidsonmt/gnbutton
component javafx javafx-components
Last synced: 30 days ago
JSON representation
JavaFx Custom Button animated
- Host: GitHub
- URL: https://github.com/gleidsonmt/gnbutton
- Owner: gleidsonmt
- License: gpl-3.0
- Created: 2018-12-25T01:05:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T16:36:10.000Z (over 6 years ago)
- Last Synced: 2025-03-23T04:51:15.397Z (about 1 month ago)
- Topics: component, javafx, javafx-components
- Language: Java
- Homepage: https://gleidsonmt.github.io/
- Size: 257 KB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://github.com/Gleidson28/GNCarousel/blob/master/LICENSE)
![]()
This project is part of the set of custom components created for JavaFx.
GNButton
JavaFx Button Hover Effect.> This component is a animated button with layers.
Basic Usage
```java
GNButton swipe = new GNButton("Swipe");
swipe.setButtonType(ButtonType.SWIPE);
swipe.setTransitionColor(Color.RED);
swipe.setTransitionText(Color.WHITE);
swipe.setTransitionDuration(Duration.ZERO);
```Inline css
```java
-gn-button-type : swipe;
-gn-transition-color : #33B5E5;
-gn-transition-text : white;
-gn-transition-duration : 500m;
```View