GitHub - jartool/GNButton: JavaFx Custom Button animated

Skip to content

Navigation Menu

Sign in

Appearance settings

Version Release 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

GNButton swipe = new GNButton("Swipe");
swipe.setButtonType(ButtonType.SWIPE);
swipe.setTransitionColor(Color.RED);
swipe.setTransitionText(Color.WHITE);
swipe.setTransitionDuration(Duration.ZERO);

Inline css

 -gn-button-type : swipe;
 -gn-transition-color : #33B5E5;
 -gn-transition-text : white;
 -gn-transition-duration : 500m;

View