Interface SceneChangeable

  • All Known Subinterfaces:
    IOpenPatricianApplicationWindow
    All Known Implementing Classes:
    OpenPatricianApplication

    public interface SceneChangeable
    Interface allowing which allows the current scene to be replaced with another one.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Sep 3, 2013
    • Method Detail

      • changeScene

        void changeScene​(OpenPatricianScene scene)
        Change the scene of the application
        Parameters:
        scene - new scene to change to.
      • getSceneWidth

        double getSceneWidth()
        Retrieve the width of the current scene. This is required to update the width dimension of the new scene. This is due to this bug: https://javafx-jira.kenai.com/browse/RT-30392
        Returns:
        scene width
      • getSceneHeight

        double getSceneHeight()
        Retrieve the height of the current scene. This is required to update the height dimension of the new scene. This is due to this bug: https://javafx-jira.kenai.com/browse/RT-30392
        Returns:
        scene height