public abstract class Scene extends Pane
referenceIdentification
Constructor and Description |
---|
Scene(Stage stage)
Constructs a scene that is a part of the stage.
|
Modifier and Type | Method and Description |
---|---|
Stage |
getStage()
Returns the hosting stage, i.e., a stage to which the scene belongs.
|
abstract void |
start()
Starts the scene.
|
abstract void |
stop()
Stops the scene.
|
add, bringToBack, bringToBackOf, bringToFront, bringToFrontOf, canClick, clear, containsPoint, draw, fill, getBackgroundColor, getBorderColor, getBorderWidth, getCenter, getHeight, getKeyRepeatPeriod, getKeyRepeatPeriod, getObjectCount, getPane, getPane, getPaneCount, getPaneObject, getPaneObjects, getPanes, getPosition, getRotation, getTickPeriod, getTransparency, getTurtle, getTurtleCount, getTurtles, getWidth, getX, getXCenter, getY, getYCenter, invalidate, isAntialiased, isMouseTransparent, isTransparentBackground, isTurtleCentering, onCanClick, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMousePressed, onMouseReleased, onTick, paintToPaneGraphics, remove, resize, savePicture, setAntialiased, setBackgroundColor, setBorderColor, setBorderWidth, setCenter, setCenter, setHeight, setKeyRepeatPeriod, setKeyRepeatPeriod, setMouseTransparent, setPane, setPosition, setPosition, setRotation, setTickPeriod, setTransparency, setTransparentBackground, setTurtleCentering, setWidth, setX, setXCenter, setY, setYCenter, toString
public Scene(Stage stage)
stage
- the stage.public Stage getStage()
public abstract void start()
public abstract void stop()
Copyright © 2017. All rights reserved.