Package com.teamdev.jxbrowser.zoom
Interface ZoomLevels
- All Superinterfaces:
Observable<ZoomLevelsEvent>
,ProfileService
Allows configuring the default zoom level and receive notifications about zoom changes.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default zoom level for the web pages.void
defaultLevel
(ZoomLevel zoomLevel) Overrides the default zoom level for the web pages.Methods inherited from interface com.teamdev.jxbrowser.event.Observable
on
Methods inherited from interface com.teamdev.jxbrowser.profile.ProfileService
profile
-
Method Details
-
defaultLevel
ZoomLevel defaultLevel()Returns the default zoom level for the web pages.- Returns:
- the default zoom level for the web pages. By default, zoom level is
ZoomLevel.P_100
- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-
defaultLevel
Overrides the default zoom level for the web pages.- Parameters:
zoomLevel
- a new value of the default zoom level- Throws:
ObjectClosedException
- when the profile is deleted or its engine is closed
-