com.vaadin.flow.component.shared.
Enum Tooltip.TooltipPosition
- java.lang.Object
-
- java.lang.Enum<Tooltip.TooltipPosition>
-
- com.vaadin.flow.component.shared.Tooltip.TooltipPosition
-
All Implemented Interfaces:
Enclosing class:
public static enum Tooltip.TooltipPosition extends Enum<Tooltip.TooltipPosition>
Tooltip position in relation to the target element.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
BOTTOM_END
BOTTOM_START
END
END_BOTTOM
END_TOP
START
START_BOTTOM
START_TOP
TOP
TOP_END
TOP_START
-
Method Summary
All Methods Modifier and Type Method Description String
getPosition()
static Tooltip.TooltipPosition
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static Tooltip.TooltipPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_START
public static final Tooltip.TooltipPosition TOP_START
-
TOP
public static final Tooltip.TooltipPosition TOP
-
TOP_END
public static final Tooltip.TooltipPosition TOP_END
-
BOTTOM_START
public static final Tooltip.TooltipPosition BOTTOM_START
-
BOTTOM
public static final Tooltip.TooltipPosition BOTTOM
-
BOTTOM_END
public static final Tooltip.TooltipPosition BOTTOM_END
-
START_TOP
public static final Tooltip.TooltipPosition START_TOP
-
START
public static final Tooltip.TooltipPosition START
-
START_BOTTOM
public static final Tooltip.TooltipPosition START_BOTTOM
-
END_TOP
public static final Tooltip.TooltipPosition END_TOP
-
END
public static final Tooltip.TooltipPosition END
-
END_BOTTOM
public static final Tooltip.TooltipPosition END_BOTTOM
-
-
Method Detail
-
values
public static Tooltip.TooltipPosition[] 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 (Tooltip.TooltipPosition c : Tooltip.TooltipPosition.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tooltip.TooltipPosition valueOf​(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPosition
public String getPosition()
-
-