Class Hyperlink

java.lang.Object
All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class Hyperlink extends ButtonBase

An HTML like label which can be a graphic and/or text which responds to rollovers and clicks. When a hyperlink is clicked/pressed isVisited() becomes true. A Hyperlink behaves just like a Button. When a hyperlink is pressed and released a ActionEvent is sent, and your application can perform some action based on this event.

Example:

Hyperlink link = new Hyperlink("www.oracle.com");
Image of the Hyperlink control
Since:
JavaFX 2.0