Class

net.sf.jguiraffe.gui.platform.javafx.builder.window

JavaFxWindowManager

Related Doc: package window

Permalink

class JavaFxWindowManager extends WindowManager

The Java FX-based implementation of the WindowManager interface.

This class creates Stage instances wrapped by Java FX-specific implementations of the Window interface. Stages can be used for all types of windows supported by the JGUIraffe library. Note that internal frames are not really supported; they are simulated by regular stages which are parents of the top-level stage.

Because CSS style sheets are managed by Scene objects and these scenes are created together with stages, this class is also responsible for adding custom CSS style sheet URLs. For this purpose, an instance of StyleSheetProvider has to be passed to the constructor. All style sheet URLs defined by this instance are added to all newly created scenes.

Linear Supertypes
WindowManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaFxWindowManager
  2. WindowManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaFxWindowManager(provider: StyleSheetProvider)

    Permalink

    Creates a new instance of JavaFxWindowManager with the given style sheet provider.

    Creates a new instance of JavaFxWindowManager with the given style sheet provider. A default stage factory is used.

    provider

    the StyleSheetProvider

  2. new JavaFxWindowManager(styleSheetProvider: StyleSheetProvider, factory: StageFactory)

    Permalink

    styleSheetProvider

    the StyleSheetProvider

    factory

    the StageFactory to be used

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createDialog(builderData: WindowBuilderData, data: WindowData, modal: Boolean, wnd: Window): Window

    Permalink

    <invalid inheritdoc annotation> This implementation works like createFrame(), but the stage's modality is set correspondingly to the modal argument.

    <invalid inheritdoc annotation> This implementation works like createFrame(), but the stage's modality is set correspondingly to the modal argument.

    Definition Classes
    JavaFxWindowManager → WindowManager
  7. def createFrame(builderData: WindowBuilderData, data: WindowData, wnd: Window): Window

    Permalink

    <invalid inheritdoc annotation> This implementation creates a normal Stage object with no modality.

    <invalid inheritdoc annotation> This implementation creates a normal Stage object with no modality. The stage's parent window is determined from the passed in WindowBuilderData object; if defined, the newly created window is a child window, otherwise a top-level window.

    Definition Classes
    JavaFxWindowManager → WindowManager
  8. def createInternalFrame(builderData: WindowBuilderData, data: WindowData, wnd: Window): Window

    Permalink

    <invalid inheritdoc annotation> This implementation behaves the same as createFrame() as internal frames are not supported by Java FX.

    <invalid inheritdoc annotation> This implementation behaves the same as createFrame() as internal frames are not supported by Java FX. So calling this method only makes sense when a parent window is provided in the WindowBuilderData object.

    Definition Classes
    JavaFxWindowManager → WindowManager
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def initMenuBar(window: JavaFxWindow, menuBar: AnyRef): Unit

    Permalink

    Initializes the window's menu bar if one is defined.

    Initializes the window's menu bar if one is defined.

    window

    the window

    menuBar

    the optional menu bar

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def stageFactory: StageFactory

    Permalink

    Returns the factory for creating new stages.

    Returns the factory for creating new stages.

    returns

    the StageFactory

    Since

    1.3.1

  20. val styleSheetProvider: StyleSheetProvider

    Permalink

    the StyleSheetProvider

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WindowManager

Inherited from AnyRef

Inherited from Any

Ungrouped