public static enum HelpTooltip.Alignment extends java.lang.Enum<HelpTooltip.Alignment>
Enum Constant and Description |
---|
BOTTOM |
CURSOR |
HELP_BUTTON |
RIGHT |
Modifier and Type | Method and Description |
---|---|
abstract java.awt.Point |
getPointFor(java.awt.Component owner,
java.awt.Dimension popupSize,
java.awt.Point mouseLocation) |
static HelpTooltip.Alignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HelpTooltip.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HelpTooltip.Alignment RIGHT
public static final HelpTooltip.Alignment BOTTOM
public static final HelpTooltip.Alignment HELP_BUTTON
public static final HelpTooltip.Alignment CURSOR
public static HelpTooltip.Alignment[] values()
for (HelpTooltip.Alignment c : HelpTooltip.Alignment.values()) System.out.println(c);
public static HelpTooltip.Alignment 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 nullpublic abstract java.awt.Point getPointFor(java.awt.Component owner, java.awt.Dimension popupSize, java.awt.Point mouseLocation)