Package velox.gui.browser
Enum Class BrowserSettings.LinksInSystemBrowser
java.lang.Object
java.lang.Enum<BrowserSettings.LinksInSystemBrowser>
velox.gui.browser.BrowserSettings.LinksInSystemBrowser
- All Implemented Interfaces:
Serializable,Comparable<BrowserSettings.LinksInSystemBrowser>,Constable
- Enclosing class:
BrowserSettings
public static enum BrowserSettings.LinksInSystemBrowser
extends Enum<BrowserSettings.LinksInSystemBrowser>
Decides which links to open in system vs embedded browser.
Applies to user-initiated navigation only, i.e. clicked links, including those targeting a new window.
Navigation initiated by the application or by the page itself, e.g.
Browser.loadUrl(java.lang.String) or redirects,
always stays in the embedded browser.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BrowserSettings.LinksInSystemBrowser[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Embedded browser only. The default. -
EXTERNAL
Links leading outside the current page's host open in system, the rest in the embedded browser. Pages without a host, e.g. loaded from HTML, treat every link with a host as external. -
ALL
System browser only.
-
-
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
-