An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

![Version](https://img.shields.io/badge/Version-1.1.0-green.svg?style=for-the-badge)
![Release](https://img.shields.io/badge/Release-v1.1.0-blue.svg?style=for-the-badge)
[![License](https://img.shields.io/github/license/Gleidson28/GNCarousel.svg?style=for-the-badge)](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