Class AbstractHyperlinkController
public abstract class AbstractHyperlinkController
extends java.lang.Object
Useful for all controllers that need to follow a hyperlink or copy an URL.
Legal stuff
Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de
This file is part of edgeutils.
edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.
- Since:
- 0.12.0
- Author:
- Ekkart Kleinod
-
Constructor Summary
Constructors Constructor Description AbstractHyperlinkController() -
Method Summary
Modifier and Type Method Description voidhandleEmailLinkAction(javafx.event.ActionEvent theEvent)Follow an email link.voidhandleWebLinkAction(javafx.event.ActionEvent theEvent)Follow a web link.
-
Constructor Details
-
AbstractHyperlinkController
public AbstractHyperlinkController()
-
-
Method Details
-
handleEmailLinkAction
public void handleEmailLinkAction(javafx.event.ActionEvent theEvent)Follow an email link.The method could be declared static but this prevents the FXML magic, thus the corresponding warning is suppressed.
- Parameters:
theEvent- action event
-
handleWebLinkAction
public void handleWebLinkAction(javafx.event.ActionEvent theEvent)Follow a web link.The method could be declared static but this prevents the FXML magic, thus the corresponding warning is suppressed.
- Parameters:
theEvent- action event
-