public interface ZoomLevels extends EngineService, Observable<ZoomLevelsEvent>
Modifier and Type | Method and Description |
---|---|
ZoomLevel |
defaultLevel()
Returns the default zoom level for the web pages.
|
void |
defaultLevel(ZoomLevel zoomLevel)
Overrides the default zoom level for the web pages.
|
on
ZoomLevel defaultLevel()
ZoomLevel.P_100
java.lang.IllegalStateException
- when the engine is closed and its zoom service isn't available
anymorevoid defaultLevel(ZoomLevel zoomLevel)
zoomLevel
- a new value of the default zoom leveljava.lang.IllegalStateException
- when the engine is closed and its zoom service isn't available
anymore