Class WebController

java.lang.Object
fr.iMath.controllers.WebController
All Implemented Interfaces:
javafx.fxml.Initializable

public class WebController
extends java.lang.Object
implements javafx.fxml.Initializable
JavaFX: Load a website in a canvas
  • Field Summary

    Fields 
    Modifier and Type Field Description
    javafx.scene.web.WebView webView  
  • Constructor Summary

    Constructors 
    Constructor Description
    WebController()  
  • Method Summary

    Modifier and Type Method Description
    void initialize​(java.net.URL location, java.util.ResourceBundle resources)  
    void showWeb​(java.lang.String url)
    Load a web page from a URL

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • webView

      public javafx.scene.web.WebView webView
  • Constructor Details

  • Method Details

    • showWeb

      public void showWeb​(java.lang.String url)
      Load a web page from a URL
      Parameters:
      url - website to show
    • initialize

      public void initialize​(java.net.URL location, java.util.ResourceBundle resources)
      Specified by:
      initialize in interface javafx.fxml.Initializable