Enum Class DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle
java.lang.Object
java.lang.Enum<DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle>
com.vaadin.flow.component.spreadsheet.DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle
- All Implemented Interfaces:
Serializable,Comparable<DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle>,Constable
- Enclosing class:
DefaultHyperlinkCellClickHandler
public static enum DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle
extends Enum<DefaultHyperlinkCellClickHandler.HyperlinkOpenStyle>
Choose how external links should open
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNote: for backward compatibility this opens in a new window/tab, but to do so it usesPage.open(String, String)which is deprecated, and in most browsers is blocked by popup blocking privacy settings.replaces the contents of the current window/tab usingPage.setLocation(String) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidopenExternalLink(String address) open external linkReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NewTab
Note: for backward compatibility this opens in a new window/tab, but to do so it usesPage.open(String, String)which is deprecated, and in most browsers is blocked by popup blocking privacy settings. -
Replace
replaces the contents of the current window/tab usingPage.setLocation(String)
-
-
Method Details
-
values
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
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
-
openExternalLink
open external link- Parameters:
address-
-