Example usage for javafx.scene.control Hyperlink getText

List of usage examples for javafx.scene.control Hyperlink getText

Introduction

In this page you can find the example usage for javafx.scene.control Hyperlink getText.

Prototype

public final String getText() 

Source Link

Usage

From source file:ninja.javafx.smartcsv.fx.about.AboutController.java

@FXML
public void openLinkInBrowser(ActionEvent actionEvent) {
    Hyperlink hyperlink = (Hyperlink) actionEvent.getSource();
    hostServices.showDocument(hyperlink.getText());
}