Uses of Enum Class
com.vaadin.flow.component.page.ScreenOrientation
Packages that use ScreenOrientation
-
Uses of ScreenOrientation in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return ScreenOrientationModifier and TypeMethodDescriptionstatic ScreenOrientationScreenOrientation.fromClientValue(String clientValue) Returns the enum constant matching the given client-side orientation type string.ScreenOrientationData.type()Returns the value of thetyperecord component.static ScreenOrientationReturns the enum constant of this class with the specified name.static ScreenOrientation[]ScreenOrientation.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component.page with parameters of type ScreenOrientationModifier and TypeMethodDescriptionvoidPage.lockOrientation(ScreenOrientation orientation) Locks the screen orientation to the given type for as long as the user remains on the current page.voidPage.lockOrientation(ScreenOrientation orientation, SerializableRunnable onSuccess, SerializableConsumer<ScreenOrientationLockError> onError) Locks the screen orientation to the given type and notifies the matching callback when the browser resolves the request.Constructors in com.vaadin.flow.component.page with parameters of type ScreenOrientationModifierConstructorDescriptionScreenOrientationData(ScreenOrientation type, int angle) Creates an instance of aScreenOrientationDatarecord class.