Package

scalafx

stage

Permalink

package stage

Wraps javafx.stage package.

Source
package.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. stage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DirectoryChooser extends SFXDelegate[javafx.stage.DirectoryChooser]

    Permalink
  2. class FileChooser extends SFXDelegate[javafx.stage.FileChooser]

    Permalink

    Provides support for standard platform file dialogs.

    Provides support for standard platform file dialogs. These dialogs have look and feel of the platform UI components which is independent of JavaFX.

    Example:

    val fileChooser = new FileChooser {
     title = "Open Resource File"
     extensionFilters ++= Seq(
       new ExtensionFilter("Text Files", "*.txt"),
       new ExtensionFilter("Image Files", Seq("*.png", "*.jpg", "*.gif")),
       new ExtensionFilter("Audio Files", Seq("*.wav", "*.mp3", "*.aac")),
       new ExtensionFilter("All Files", "*.*")
     )
    }
    val selectedFile = fileChooser.showOpenDialog(stage)
    if (selectedFile != null) {
     stage.display(selectedFile);
    }
  3. sealed case class Modality(delegate: javafx.stage.Modality) extends SFXEnumDelegate[javafx.stage.Modality] with Product with Serializable

    Permalink

    Wraps javafx.stage.Modality.

  4. class Popup extends PopupWindow with SFXDelegate[javafx.stage.Popup]

    Permalink
  5. abstract class PopupWindow extends Window with SFXDelegate[javafx.stage.PopupWindow]

    Permalink
  6. class Screen extends SFXDelegate[javafx.stage.Screen]

    Permalink
  7. class Stage extends Window with SFXDelegate[javafx.stage.Stage]

    Permalink

    The primary stage for your application has to be created by wrapping the JFXApp.STAGE object.

    The primary stage for your application has to be created by wrapping the JFXApp.STAGE object.

    stage = new JFXApp.PrimaryStage {
    // your definitions
    }
    
    Any further stage would be simply instantiated by the no-arg constructor.

  8. trait StageIncludes extends AnyRef

    Permalink

    Contains implcit methods to convert from javafx.stage Classes/Traits to their ScalaFX counterparts.

  9. sealed case class StageStyle(delegate: javafx.stage.StageStyle) extends SFXEnumDelegate[javafx.stage.StageStyle] with Product with Serializable

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/stage/StageStyle.html

  10. class Window extends EventHandlerDelegate with SFXDelegate[javafx.stage.Window] with EventTarget

    Permalink
  11. class WindowEvent extends Event with SFXDelegate[javafx.stage.WindowEvent]

    Permalink

Value Members

  1. object DirectoryChooser

    Permalink
  2. object FileChooser

    Permalink
  3. object Modality extends SFXEnumDelegateCompanion[javafx.stage.Modality, Modality] with Serializable

    Permalink

    Wrapper for javafx.stage.Modality

  4. object Popup

    Permalink
  5. object PopupWindow

    Permalink
  6. object Screen

    Permalink
  7. object Stage

    Permalink
  8. object StageIncludes extends StageIncludes

    Permalink
  9. object StageStyle extends SFXEnumDelegateCompanion[javafx.stage.StageStyle, StageStyle] with Serializable

    Permalink
  10. object Window

    Permalink
  11. object WindowEvent

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped