case class Builder(parentScene: Scene) extends Product with Serializable
Builder. The provided scene is used to determine the screen width and height
- parentScene
the scene in which the screen will be shown
- Alphabetic
- By Inheritance
- Builder
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Builder(parentScene: Scene)
- parentScene
the scene in which the screen will be shown
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
build(): LevelScreenImpl
This method creates a LevelScreenImpl with the provided components
This method creates a LevelScreenImpl with the provided components
- returns
a LevelScreenImpl
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
withButton(text: String, onClick: EventHandler[ActionEvent]): Builder
This method adds a Button to the screen
This method adds a Button to the screen
- text
the text
- onClick
the handler that will be executed on the button click
- returns
the builder itself
-
def
withNode(node: Node): Builder
This method adds a node to the screen
This method adds a node to the screen
- node
the node
- returns
the builder itself
-
def
withText(text: String, size: Double = 30, color: Color = Color.White): Builder
This method adds a Text to the screen
This method adds a Text to the screen
- text
the text
- size
the text size
- color
the text color
- returns
the builder itself