public enum CaptionButtonType extends java.lang.Enum<CaptionButtonType>
Enum Constant and Description |
---|
CLOSE |
CLOSE_SMALL |
HELP |
ICONIFY |
MAXIMIZE |
RESTORE_DOWN |
RESTORE_UP |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
tooltip
Tooltip string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTooltip()
Returns tooltip string.
|
static CaptionButtonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CaptionButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptionButtonType ICONIFY
public static final CaptionButtonType MAXIMIZE
public static final CaptionButtonType RESTORE_UP
public static final CaptionButtonType RESTORE_DOWN
public static final CaptionButtonType CLOSE
public static final CaptionButtonType CLOSE_SMALL
public static final CaptionButtonType HELP
private java.lang.String tooltip
public static CaptionButtonType[] values()
for (CaptionButtonType c : CaptionButtonType.values()) System.out.println(c);
public static CaptionButtonType 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 java.lang.String getTooltip()