Class NavigatorController


  • public class NavigatorController
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      javafx.scene.canvas.Canvas navigatorCanvas  
      javafx.scene.control.Slider slider  
      javafx.scene.control.TextField textField  
      javafx.scene.layout.VBox wrapper  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(javafx.beans.property.ObjectProperty<GameManager> gameManagerProperty, CanvasController canvasController)
      Bind the transformation properties to the slider and text field.
      void onEnter()
      Behaviour of user entering a scale.
      • Methods inherited from class java.lang.Object

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

      • slider

        public javafx.scene.control.Slider slider
      • textField

        public javafx.scene.control.TextField textField
      • wrapper

        public javafx.scene.layout.VBox wrapper
      • navigatorCanvas

        public javafx.scene.canvas.Canvas navigatorCanvas
    • Constructor Detail

      • NavigatorController

        public NavigatorController()
    • Method Detail

      • onEnter

        public void onEnter()
        Behaviour of user entering a scale.
      • init

        public void init​(javafx.beans.property.ObjectProperty<GameManager> gameManagerProperty,
                         CanvasController canvasController)
        Bind the transformation properties to the slider and text field.
        Parameters:
        gameManagerProperty - the ObjectProperty, holding the GameManager
        canvasController - ModuleLayer.Controller holding the PointTransformation