Index

A B C D G H I L N R T U V 
All Classes and Interfaces|All Packages

A

AndroidDisplayService - Class in com.gluonhq.attach.display.impl
 
AndroidDisplayService() - Constructor for class com.gluonhq.attach.display.impl.AndroidDisplayService
 

B

BOTTOM - Enum constant in enum class com.gluonhq.attach.display.DisplayService.Notch
The notch is located at the bottom of the screen, with the device held upright and in portrait mode but upside down

C

com.gluonhq.attach.display - module com.gluonhq.attach.display
 
com.gluonhq.attach.display - package com.gluonhq.attach.display
Primary API package for Attach - Display plugin, contains the interface DisplayService and related classes.
com.gluonhq.attach.display.impl - package com.gluonhq.attach.display.impl
 
create() - Static method in interface com.gluonhq.attach.display.DisplayService
Returns an instance of DisplayService.

D

DesktopDisplayService - Class in com.gluonhq.attach.display.impl
 
DesktopDisplayService() - Constructor for class com.gluonhq.attach.display.impl.DesktopDisplayService
 
DisplayService - Interface in com.gluonhq.attach.display
With the display service you can query the characteristics of your device's screen.
DisplayService.Notch - Enum Class in com.gluonhq.attach.display
Possible Notch positions
DummyDisplayService - Class in com.gluonhq.attach.display.impl
 
DummyDisplayService() - Constructor for class com.gluonhq.attach.display.impl.DummyDisplayService
 

G

getDefaultDimensions() - Method in interface com.gluonhq.attach.display.DisplayService
Returns the default screen dimensions of a mobile device, in density independent pixel units.
getDefaultDimensions() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
getDefaultDimensions() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
getDefaultDimensions() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 
getScreenResolution() - Method in interface com.gluonhq.attach.display.DisplayService
Returns the screen resolution of the device, in pixels.
getScreenResolution() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
Retrieve the dimension of the primary screen based on its bounds
getScreenResolution() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
Retrieve the dimension of the primary screen based on its bounds
getScreenResolution() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 
getScreenScale() - Method in interface com.gluonhq.attach.display.DisplayService
Returns the logical density of the display
getScreenScale() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
Returns the screen scale of the primary screen
getScreenScale() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
Returns the screen scale of the primary screen
getScreenScale() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 

H

hasNotch() - Method in interface com.gluonhq.attach.display.DisplayService
Indicates if the device has a notch that modifies the display or not.
hasNotch() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
hasNotch() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
hasNotch() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 

I

IOSDisplayService - Class in com.gluonhq.attach.display.impl
 
IOSDisplayService() - Constructor for class com.gluonhq.attach.display.impl.IOSDisplayService
 
isDesktop() - Method in interface com.gluonhq.attach.display.DisplayService
Returns true if the device is considered a desktop / laptop.
isDesktop() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
isDesktop() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
isDesktop() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 
isPhone() - Method in interface com.gluonhq.attach.display.DisplayService
Returns true if the device is considered a phone.
isPhone() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
isPhone() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
isPhone() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 
isScreenRound() - Method in interface com.gluonhq.attach.display.DisplayService
Returns true if the device has a round screen
isScreenRound() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
isScreenRound() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
isScreenRound() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 
isTablet() - Method in interface com.gluonhq.attach.display.DisplayService
Returns true if the device is considered a tablet.
isTablet() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
isTablet() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
isTablet() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 

L

LEFT - Enum constant in enum class com.gluonhq.attach.display.DisplayService.Notch
The notch is located at the left of the screen, with the device held upright and in landscape mode

N

notchProperty() - Method in interface com.gluonhq.attach.display.DisplayService
Property that contains the position of the notch, if any, and can be used to track changes in its location.
notchProperty() - Method in class com.gluonhq.attach.display.impl.AndroidDisplayService
 
notchProperty() - Method in class com.gluonhq.attach.display.impl.DesktopDisplayService
 
notchProperty() - Method in class com.gluonhq.attach.display.impl.IOSDisplayService
 

R

RIGHT - Enum constant in enum class com.gluonhq.attach.display.DisplayService.Notch
The notch is located at the right of the screen, with the device held upright and in landscape mode

T

TOP - Enum constant in enum class com.gluonhq.attach.display.DisplayService.Notch
The notch is located at the top of the screen, with the device held upright and in portrait mode

U

UNKNOWN - Enum constant in enum class com.gluonhq.attach.display.DisplayService.Notch
There is no notch present or its location is unknown

V

valueOf(String) - Static method in enum class com.gluonhq.attach.display.DisplayService.Notch
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.gluonhq.attach.display.DisplayService.Notch
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D G H I L N R T U V 
All Classes and Interfaces|All Packages