Skip to content

excelmicro/FX-Toaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Elizabeth Harper
May 25, 2017
1b59ca3 · May 25, 2017

History

5 Commits
Apr 20, 2017
May 25, 2017
Apr 20, 2017
Apr 20, 2017
May 25, 2017
May 25, 2017
Apr 20, 2017
Apr 20, 2017
Apr 20, 2017

Repository files navigation

Toaster

Provides a small set of simple FX Panes allowing customizable toast notifications in JavaFX GUI applications.

Toaster can be easily added to any project by simply wrapping whatever panes you like with a NotificationPane using FXML or raw Java.

Examples

Sample FXML
<NotificationPane [...] fx:id="noteStack">
  <VBox>
    <Button text="Add Note" onAction="#addNote" />
  </VBox>
</NotificationPane>
Sample Controller
public class Controller
{
  @FXML
  private NotificationPane noteStack;

  @FXML
  private void addNote( final Event ignored )
  {
    noteStack.notify(new Notification("Hello World"));
  }
}

Change Log

v1.1.0
  • Added getter for NotificationAnchorStack to NotificationPane

  • Added getter for header Label to Notification

v1.0.0

Initial Release

About

Tiny JavaFX Toast Notification Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published