Enum BrowserPage.On
- java.lang.Object
-
- java.lang.Enum<BrowserPage.On>
-
- com.webfirmframework.wffweb.server.page.BrowserPage.On
-
- Enclosing class:
- BrowserPage
public static enum BrowserPage.On extends java.lang.Enum<BrowserPage.On>
To specify (by removeFromContext method) when to removeBrowserPage
instance fromBrowserPageContext
.- Since:
- 2.1.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INIT_REMOVE_PREVIOUS
To remove the previousBrowserPage
instance opened in the same tab when newBrowserPage
is requested by the tab.TAB_CLOSE
to remove the currentBrowserPage
instance fromBrowserPageContext
when the tab/window is closed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrowserPage.On
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BrowserPage.On[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAB_CLOSE
public static final BrowserPage.On TAB_CLOSE
to remove the currentBrowserPage
instance fromBrowserPageContext
when the tab/window is closed.
-
INIT_REMOVE_PREVIOUS
public static final BrowserPage.On INIT_REMOVE_PREVIOUS
To remove the previousBrowserPage
instance opened in the same tab when newBrowserPage
is requested by the tab.
-
-
Method Detail
-
values
public static BrowserPage.On[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BrowserPage.On c : BrowserPage.On.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrowserPage.On valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-