public enum HoverPersistMode extends java.lang.Enum<HoverPersistMode> implements ValueEnum
| Enum Constant and Description |
|---|
AUTOPIN like "clickPin", but the hover is pinned as soon as the user places the cursor over the hover, and needs an outside-click to dismiss |
CLICKPIN like "underMouse", but if the user clicks in the hover, it is pinned until the user clicks outside of the hover |
NONE Hover is dismissed as soon as the mouse moves off the target. |
UNDERMOUSE the user has a brief window to move the cursor over the hover to prevent it from being dismissed, until mouseOut from the hover, allowing interactive hovers. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static HoverPersistMode | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static HoverPersistMode[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final HoverPersistMode NONE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static final HoverPersistMode UNDERMOUSE
Hover.hide() If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "underMouse".
public static final HoverPersistMode CLICKPIN
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "clickPin".
public static final HoverPersistMode AUTOPIN
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "autoPin".
public static HoverPersistMode[] values()
for (HoverPersistMode c : HoverPersistMode.values()) System.out.println(c);
public static HoverPersistMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null