public final class BirdViewController extends Object
show
and hide
methods.
When a bird view is enabled then it consumes all events of a main scene view therefore you cannot do anything except watch the scene with bird view.
Modifier and Type | Method and Description |
---|---|
void |
hide()
Disables the bird view.
|
void |
setWindowSize(Dimension size)
Sets a size of the bird view window.
|
void |
setZoomFactor(double zoomFactor)
Sets a zoom factor of the bird view.
|
void |
show()
Enables the bird view.
|
public void setZoomFactor(double zoomFactor)
zoomFactor
- the zoom factorpublic void setWindowSize(Dimension size)
size
- the window sizepublic void show()
Note: Has to be invoked after Scene.createView
method.
Note: An user has to initially move cursor over the visible area of the main scene view to show the window up for the first time after the method call.
public void hide()