Class SettingsController.Settings
Object
Settings
- Enclosing class:
SettingsController
Shared settings describing the current ePub environment.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleantrueif the reader exposes keyboard events.(package private) booleantrueif the reader exposes mouse events.(package private) booleantrueif the reader exposes touch events.(package private) booleantrueif the lab runs in an ePub reader.(package private) booleantrueif the lab runs on a standalone ePub page. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSettings()Create a new settings record with default capability flags. -
Method Summary
-
Field Details
-
isEPub
boolean isEPubtrueif the lab runs in an ePub reader. -
standalone
boolean standalonetrueif the lab runs on a standalone ePub page. -
hasMouse
boolean hasMousetrueif the reader exposes mouse events. -
hasTouch
boolean hasTouchtrueif the reader exposes touch events. -
hasKeys
boolean hasKeystrueif the reader exposes keyboard events.
-
-
Constructor Details
-
Settings
private Settings()Create a new settings record with default capability flags.
-