class LevelSelectionScene extends DefaultBackScene with LevelNodeListener
This scene lets the players choose which level they want to play
- Alphabetic
- By Inheritance
- LevelSelectionScene
- LevelNodeListener
- DefaultBackScene
- BaseScene
- Serializable
- Serializable
- Product
- Equals
- Scene
- SFXDelegate
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LevelSelectionScene(parentStage: Stage, listener: LevelSelectionSceneListener, previousSceneListener: BackClickListener)
- parentStage
the parent stage
- listener
the listener
- previousSceneListener
the back click listener
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
accelerators: ObservableMap[KeyCombination, Runnable]
- Definition Classes
- Scene
-
def
addMnemonic(m: Mnemonic): Unit
- Definition Classes
- Scene
-
var
additionalAction: () ⇒ Unit
- Definition Classes
- DefaultBackScene
-
def
antialiasing: SceneAntialiasing
- Definition Classes
- Scene
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buttonsContainer: VBox
- Attributes
- protected
-
def
camera: ObjectProperty[Camera]
- Definition Classes
- Scene
-
def
camera_=(v: Camera): Unit
- Definition Classes
- Scene
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
container: VBox
- Attributes
- protected
-
def
content: ObservableList[Node]
- Definition Classes
- Scene
-
def
content_=(n: Node): Unit
- Definition Classes
- Scene
-
def
content_=(c: Iterable[Node]): Unit
- Definition Classes
- Scene
-
def
cursor: ObjectProperty[Cursor]
- Definition Classes
- Scene
-
def
cursor_=(v: Cursor): Unit
- Definition Classes
- Scene
-
val
delegate: Scene
- Definition Classes
- Scene → SFXDelegate
-
def
depthBuffer: Boolean
- Definition Classes
- Scene
-
def
effectiveNodeOrientation: ReadOnlyObjectProperty[NodeOrientation]
- Definition Classes
- Scene
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(ref: Any): Boolean
- Definition Classes
- SFXDelegate → AnyRef → Any
-
def
eventDispatcher: ObjectProperty[EventDispatcher]
- Definition Classes
- Scene
-
def
eventDispatcher_=(v: EventDispatcher): Unit
- Definition Classes
- Scene
-
def
fill: ObjectProperty[Paint]
- Definition Classes
- Scene
-
def
fill_=(v: Paint): Unit
- Definition Classes
- Scene
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
focusOwner: ReadOnlyObjectProperty[Node]
- Definition Classes
- Scene
-
def
getChildren: ObservableList[Node]
- Definition Classes
- Scene
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getMnemonics: ObservableMap[KeyCombination, ObservableList[Mnemonic]]
- Definition Classes
- Scene
-
val
goBack: Button
The back button
The back button
- Attributes
- protected
- Definition Classes
- DefaultBackScene
-
def
hashCode(): Int
- Definition Classes
- SFXDelegate → AnyRef → Any
-
def
height: ReadOnlyDoubleProperty
- Definition Classes
- Scene
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
levels: Buffer[LevelInfo]
The levels shown
The levels shown
- returns
the list of levels as LevelInfo
-
val
levelsContainer: TilePane
The central level container
The central level container
- Attributes
- protected
- val listener: LevelSelectionSceneListener
-
def
loadLevels(): Unit
This method loads the level into the level container, thus letting the player choose them
-
def
lookup(selector: String): Option[Node]
- Definition Classes
- Scene
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nodeOrientation: ObjectProperty[NodeOrientation]
- Definition Classes
- Scene
-
def
nodeOrientation_=(v: NodeOrientation): Unit
- Definition Classes
- Scene
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onContextMenuRequested: ObjectProperty[EventHandler[_ >: ContextMenuEvent]]
- Definition Classes
- Scene
-
def
onContextMenuRequested_=(v: EventHandler[_ >: ContextMenuEvent]): Unit
- Definition Classes
- Scene
-
def
onDragDetected: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onDragDetected_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onDragDone: ObjectProperty[EventHandler[_ >: DragEvent]]
- Definition Classes
- Scene
-
def
onDragDone_=(v: EventHandler[_ >: DragEvent]): Unit
- Definition Classes
- Scene
-
def
onDragDropped: ObjectProperty[EventHandler[_ >: DragEvent]]
- Definition Classes
- Scene
-
def
onDragDropped_=(v: EventHandler[_ >: DragEvent]): Unit
- Definition Classes
- Scene
-
def
onDragEntered: ObjectProperty[EventHandler[_ >: DragEvent]]
- Definition Classes
- Scene
-
def
onDragEntered_=(v: EventHandler[_ >: DragEvent]): Unit
- Definition Classes
- Scene
-
def
onDragExited: ObjectProperty[EventHandler[_ >: DragEvent]]
- Definition Classes
- Scene
-
def
onDragExited_=(v: EventHandler[_ >: DragEvent]): Unit
- Definition Classes
- Scene
-
def
onDragOver: ObjectProperty[EventHandler[_ >: DragEvent]]
- Definition Classes
- Scene
-
def
onDragOver_=(v: EventHandler[_ >: DragEvent]): Unit
- Definition Classes
- Scene
-
def
onInputMethodTextChanged: ObjectProperty[EventHandler[_ >: InputMethodEvent]]
- Definition Classes
- Scene
-
def
onInputMethodTextChanged_=(v: EventHandler[_ >: InputMethodEvent]): Unit
- Definition Classes
- Scene
-
def
onKeyPressed: ObjectProperty[EventHandler[_ >: KeyEvent]]
- Definition Classes
- Scene
-
def
onKeyPressed_=(v: EventHandler[_ >: KeyEvent]): Unit
- Definition Classes
- Scene
-
def
onKeyReleased: ObjectProperty[EventHandler[_ >: KeyEvent]]
- Definition Classes
- Scene
-
def
onKeyReleased_=(v: EventHandler[_ >: KeyEvent]): Unit
- Definition Classes
- Scene
-
def
onKeyTyped: ObjectProperty[EventHandler[_ >: KeyEvent]]
- Definition Classes
- Scene
-
def
onKeyTyped_=(v: EventHandler[_ >: KeyEvent]): Unit
- Definition Classes
- Scene
-
def
onLevelPlayClick(levelInfo: LevelInfo, simulation: Boolean, custom: Boolean = false): Unit
Called when the user want to play a level
Called when the user want to play a level
- levelInfo
the level info
- simulation
true if the level must be started as a simulation, false otherwise
- custom
true if the level is a custom one, false otherwise
- Definition Classes
- LevelSelectionScene → LevelNodeListener
-
def
onMouseClicked: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseClicked_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseDragEntered: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
- Definition Classes
- Scene
-
def
onMouseDragEntered_=(v: EventHandler[_ >: MouseDragEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseDragExited: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
- Definition Classes
- Scene
-
def
onMouseDragExited_=(v: EventHandler[_ >: MouseDragEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseDragOver: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
- Definition Classes
- Scene
-
def
onMouseDragOver_=(v: EventHandler[_ >: MouseDragEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseDragReleased: ObjectProperty[EventHandler[_ >: MouseDragEvent]]
- Definition Classes
- Scene
-
def
onMouseDragReleased_=(v: EventHandler[_ >: MouseDragEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseDragged: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseDragged_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseEntered: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseEntered_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseExited: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseExited_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseMoved: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseMoved_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMousePressed: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMousePressed_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onMouseReleased: ObjectProperty[EventHandler[_ >: MouseEvent]]
- Definition Classes
- Scene
-
def
onMouseReleased_=(v: EventHandler[_ >: MouseEvent]): Unit
- Definition Classes
- Scene
-
def
onRotate: ObjectProperty[EventHandler[_ >: RotateEvent]]
- Definition Classes
- Scene
-
def
onRotate_=(v: EventHandler[_ >: RotateEvent]): Unit
- Definition Classes
- Scene
-
def
onRotationFinished: ObjectProperty[EventHandler[_ >: RotateEvent]]
- Definition Classes
- Scene
-
def
onRotationFinished_=(v: EventHandler[_ >: RotateEvent]): Unit
- Definition Classes
- Scene
-
def
onRotationStarted: ObjectProperty[EventHandler[_ >: RotateEvent]]
- Definition Classes
- Scene
-
def
onRotationStarted_=(v: EventHandler[_ >: RotateEvent]): Unit
- Definition Classes
- Scene
-
def
onScroll: ObjectProperty[EventHandler[_ >: ScrollEvent]]
- Definition Classes
- Scene
-
def
onScrollFinished: ObjectProperty[EventHandler[_ >: ScrollEvent]]
- Definition Classes
- Scene
-
def
onScrollFinished_=(v: EventHandler[_ >: ScrollEvent]): Unit
- Definition Classes
- Scene
-
def
onScrollStarted: ObjectProperty[EventHandler[_ >: ScrollEvent]]
- Definition Classes
- Scene
-
def
onScrollStarted_=(v: EventHandler[_ >: ScrollEvent]): Unit
- Definition Classes
- Scene
-
def
onScroll_=(v: EventHandler[_ >: ScrollEvent]): Unit
- Definition Classes
- Scene
-
def
onSwipeDown: ObjectProperty[EventHandler[_ >: SwipeEvent]]
- Definition Classes
- Scene
-
def
onSwipeDown_=(v: EventHandler[_ >: SwipeEvent]): Unit
- Definition Classes
- Scene
-
def
onSwipeLeft: ObjectProperty[EventHandler[_ >: SwipeEvent]]
- Definition Classes
- Scene
-
def
onSwipeLeft_=(v: EventHandler[_ >: SwipeEvent]): Unit
- Definition Classes
- Scene
-
def
onSwipeRight: ObjectProperty[EventHandler[_ >: SwipeEvent]]
- Definition Classes
- Scene
-
def
onSwipeRight_=(v: EventHandler[_ >: SwipeEvent]): Unit
- Definition Classes
- Scene
-
def
onSwipeUp: ObjectProperty[EventHandler[_ >: SwipeEvent]]
- Definition Classes
- Scene
-
def
onSwipeUp_=(v: EventHandler[_ >: SwipeEvent]): Unit
- Definition Classes
- Scene
-
def
onTouchMoved: ObjectProperty[EventHandler[_ >: TouchEvent]]
- Definition Classes
- Scene
-
def
onTouchMoved_=(v: EventHandler[_ >: TouchEvent]): Unit
- Definition Classes
- Scene
-
def
onTouchPressed: ObjectProperty[EventHandler[_ >: TouchEvent]]
- Definition Classes
- Scene
-
def
onTouchPressed_=(v: EventHandler[_ >: TouchEvent]): Unit
- Definition Classes
- Scene
-
def
onTouchReleased: ObjectProperty[EventHandler[_ >: TouchEvent]]
- Definition Classes
- Scene
-
def
onTouchReleased_=(v: EventHandler[_ >: TouchEvent]): Unit
- Definition Classes
- Scene
-
def
onTouchStationary: ObjectProperty[EventHandler[_ >: TouchEvent]]
- Definition Classes
- Scene
-
def
onTouchStationary_=(v: EventHandler[_ >: TouchEvent]): Unit
- Definition Classes
- Scene
-
def
onZoom: ObjectProperty[EventHandler[_ >: ZoomEvent]]
- Definition Classes
- Scene
-
def
onZoomFinished: ObjectProperty[EventHandler[_ >: ZoomEvent]]
- Definition Classes
- Scene
-
def
onZoomFinished_=(v: EventHandler[_ >: ZoomEvent]): Unit
- Definition Classes
- Scene
-
def
onZoomStarted: ObjectProperty[EventHandler[_ >: ZoomEvent]]
- Definition Classes
- Scene
-
def
onZoomStarted_=(v: EventHandler[_ >: ZoomEvent]): Unit
- Definition Classes
- Scene
-
def
onZoom_=(v: EventHandler[_ >: ZoomEvent]): Unit
- Definition Classes
- Scene
-
val
parentStage: Stage
- Definition Classes
- LevelSelectionScene → DefaultBackScene → BaseScene
-
def
refreshLevels(): Unit
This method refreshes the level list to acquire the new LevelInfos
This method refreshes the level list to acquire the new LevelInfos
- Attributes
- protected
-
def
removeMnemonic(m: Mnemonic): Unit
- Definition Classes
- Scene
-
def
root: ObjectProperty[Parent]
- Definition Classes
- Scene
-
def
root_=(v: Parent): Unit
- Definition Classes
- Scene
-
def
setAdditionalAction(action: () ⇒ Unit): Unit
The additional action setter
The additional action setter
- action
a new function that should be executed before calling the back listener
- Attributes
- protected
- Definition Classes
- DefaultBackScene
-
def
setText(backText: String): Unit
The text setter
The text setter
- backText
the new text that must be shown on the button
- Attributes
- protected
- Definition Classes
- DefaultBackScene
-
def
snapshot(callback: (SnapshotResult) ⇒ Unit, image: WritableImage): Unit
- Definition Classes
- Scene
-
def
snapshot(image: WritableImage): WritableImage
- Definition Classes
- Scene
-
def
startDragAndDrop(transferModes: TransferMode*): Dragboard
- Definition Classes
- Scene
-
def
startFullDrag(): Unit
- Definition Classes
- Scene
-
def
stylesheets: ObservableList[String]
- Definition Classes
- Scene
-
def
stylesheets_=(c: Iterable[String]): Unit
- Definition Classes
- Scene
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SFXDelegate → AnyRef → Any
-
def
userAgentStylesheet: ObjectProperty[String]
- Definition Classes
- Scene
-
def
userAgentStylesheet_=(url: String): Unit
- Definition Classes
- Scene
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
width: ReadOnlyDoubleProperty
- Definition Classes
- Scene
-
def
window: ReadOnlyObjectProperty[Window]
- Definition Classes
- Scene
-
def
x: ReadOnlyDoubleProperty
- Definition Classes
- Scene
-
def
y: ReadOnlyDoubleProperty
- Definition Classes
- Scene