Package 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:
Serializable,Comparable<Tooltip.TooltipPosition>
- Enclosing class:
- Tooltip
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 BOTTOMBOTTOM_ENDBOTTOM_STARTENDEND_BOTTOMEND_TOPSTARTSTART_BOTTOMSTART_TOPTOPTOP_ENDTOP_START
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPosition()static Tooltip.TooltipPositionvalueOf(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()
-
-