Interface ZoomLevels

All Superinterfaces:
Observable<ZoomLevelsEvent>, ProfileService

public interface ZoomLevels extends ProfileService, Observable<ZoomLevelsEvent>
Allows configuring the default zoom level and receive notifications about zoom changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the default zoom level for the web pages.
    void
    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

      void defaultLevel(ZoomLevel zoomLevel)
      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