Class BaseBorderView

All Implemented Interfaces:
Styleable, EventTarget
Direct Known Subclasses:
DefaultCodeEditorView, DefaultInfoView

public class BaseBorderView extends BorderPane
FX Base Border View.
  • Field Details

  • Constructor Details

    • BaseBorderView

      public BaseBorderView(BaseApp app, Stage stage, String styleResourcePath)
      Base Border view.

      The scene carries the autumo-ui base style first; the application's own style sheet follows on top if it ships one, i.e. if styleResourcePath is not null and resolves to an application resource. A later style sheet wins per property, so an application only overrides what it really wants - the base look stays the foundation.

      Parameters:
      app - app
      stage - stage
      styleResourcePath - resource path to a style-sheet file, null for the base look only
  • Method Details

    • getApp

      public BaseApp getApp()
      Get the application.
      Returns:
      application
    • getStage

      public Stage getStage()
      Get the stage.
      Returns:
      stage
    • getModel

      public BaseModel getModel()
      Get model.
      Returns:
      model
    • setModel

      public void setModel(BaseModel model)
      Set the model.
      Parameters:
      model - model
    • getController

      public BaseController getController()
      Get controller
      Returns:
      controller
    • setController

      public void setController(BaseController controller)
      Set the controller.
      Parameters:
      controller - controller
    • show

      public void show(boolean visible)
      Show view or not.
      Parameters:
      visible - true to show this view.