Module com.gluonhq.attach.statusbar
Class IOSStatusBarService
java.lang.Object
com.gluonhq.attach.statusbar.impl.IOSStatusBarService
- All Implemented Interfaces:
StatusBarService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gluonhq.attach.statusbar.StatusBarService
StatusBarService.APPEARANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetColor(javafx.scene.paint.Color color) Sets the color of the status bar to the specified color.voidsetSystemBarsAppearance(StatusBarService.APPEARANCE statusBarAppearance, StatusBarService.APPEARANCE navigationBarAppearance) Sets the appearance of the icons of the system bars to light or dark, so these have enough contrast and can be easily read Only applies to Android.
-
Constructor Details
-
IOSStatusBarService
public IOSStatusBarService()
-
-
Method Details
-
setColor
public void setColor(javafx.scene.paint.Color color) Description copied from interface:StatusBarServiceSets the color of the status bar to the specified color.- Specified by:
setColorin interfaceStatusBarService- Parameters:
color- The color to set the status bar to.
-
setSystemBarsAppearance
public void setSystemBarsAppearance(StatusBarService.APPEARANCE statusBarAppearance, StatusBarService.APPEARANCE navigationBarAppearance) Description copied from interface:StatusBarServiceSets the appearance of the icons of the system bars to light or dark, so these have enough contrast and can be easily read Only applies to Android.- Specified by:
setSystemBarsAppearancein interfaceStatusBarService- Parameters:
statusBarAppearance- the light or dark appearance of the status barnavigationBarAppearance- the light or dark appearance of the navigation bar
-