Package sac.control
Class FloatController
java.lang.Object
sac.control.FloatController
- Direct Known Subclasses:
HoldController
,LineCountController
,ScoreController
,TimedController
Define a controller whose view element is floating (can be adjusted to different container).
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
init()
Init current controller.protected void
Template method.
-
Field Details
-
container
protected javafx.scene.layout.VBox container -
root
protected javafx.scene.Node root
-
-
Constructor Details
-
FloatController
public FloatController(javafx.scene.layout.VBox container)
-
-
Method Details
-
initialize
protected void initialize()Template method. Set the root view element controlled into the container. Subclass should not override this method. -
init
protected abstract void init()Init current controller.
-