Uses of Enum Class
com.vaadin.flow.component.screenorientation.ScreenOrientationType
Packages that use ScreenOrientationType
-
Uses of ScreenOrientationType in com.vaadin.flow.component.screenorientation
Methods in com.vaadin.flow.component.screenorientation that return ScreenOrientationTypeModifier and TypeMethodDescriptionstatic ScreenOrientationTypeScreenOrientationType.fromClientValue(String clientValue) Returns the enum constant matching the given client-side orientation type string.ScreenOrientationData.type()Returns the value of thetyperecord component.static ScreenOrientationTypeReturns the enum constant of this class with the specified name.static ScreenOrientationType[]ScreenOrientationType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component.screenorientation with parameters of type ScreenOrientationTypeModifier and TypeMethodDescriptionstatic voidScreenOrientation.lock(ScreenOrientationType orientation) Locks the screen orientation to the given type for as long as the user remains on the current page.static voidScreenOrientation.lock(ScreenOrientationType 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.screenorientation with parameters of type ScreenOrientationTypeModifierConstructorDescriptionScreenOrientationData(ScreenOrientationType type, int angle) Creates an instance of aScreenOrientationDatarecord class.