Package org.vaadin.firitin.util
Enum Class PageVisibility.Visibility
- All Implemented Interfaces:
Serializable,Comparable<PageVisibility.Visibility>,Constable
- Enclosing class:
PageVisibility
@Deprecated(since="3.6",
forRemoval=true)
public static enum PageVisibility.Visibility
extends Enum<PageVisibility.Visibility>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The page is not visible, e.g. the browser tab is not active or the window is minimized.Deprecated, for removal: This API element is subject to removal in a future version.The page is visible and focused.Deprecated, for removal: This API element is subject to removal in a future version.The page is visible but not focused. -
Method Summary
Modifier and TypeMethodDescriptionstatic PageVisibility.VisibilityDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static PageVisibility.Visibility[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VISIBLE
Deprecated, for removal: This API element is subject to removal in a future version.The page is visible and focused. In the browser, this is indicated by the `document.hasFocus()` method returning true. -
VISIBLE_NON_FOCUSED
Deprecated, for removal: This API element is subject to removal in a future version.The page is visible but not focused. E.g. behind another window. In the browser, this is indicated by the `document.hasFocus()` method returning false, -
HIDDEN
Deprecated, for removal: This API element is subject to removal in a future version.The page is not visible, e.g. the browser tab is not active or the window is minimized. In the browser, this is indicated by the `document.hidden` property being true.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
PageVisibilityfrom Vaadin 25.2 instead.