Class SettingsController.Settings

Object
Settings
Enclosing class:
SettingsController

private static final class SettingsController.Settings extends Object
Shared settings describing the current ePub environment.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
    true if the reader exposes keyboard events.
    (package private) boolean
    true if the reader exposes mouse events.
    (package private) boolean
    true if the reader exposes touch events.
    (package private) boolean
    true if the lab runs in an ePub reader.
    (package private) boolean
    true if the lab runs on a standalone ePub page.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Create a new settings record with default capability flags.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isEPub

      boolean isEPub
      true if the lab runs in an ePub reader.
    • standalone

      boolean standalone
      true if the lab runs on a standalone ePub page.
    • hasMouse

      boolean hasMouse
      true if the reader exposes mouse events.
    • hasTouch

      boolean hasTouch
      true if the reader exposes touch events.
    • hasKeys

      boolean hasKeys
      true if the reader exposes keyboard events.
  • Constructor Details

    • Settings

      private Settings()
      Create a new settings record with default capability flags.