public static enum ButtonEnumerations.SaveCancelEnum extends Enum<ButtonEnumerations.SaveCancelEnum> implements ButtonEnumerations.ButtonEnum
Modifier and Type | Method and Description |
---|---|
ButtonEnumerations.ButtonEnum |
getActionType() |
ButtonEnumerations.ButtonEnum |
getCancelType() |
KSButtonAbstract.ButtonStyle |
getStyle() |
String |
getText() |
static ButtonEnumerations.SaveCancelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonEnumerations.SaveCancelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonEnumerations.SaveCancelEnum SAVE
public static final ButtonEnumerations.SaveCancelEnum CANCEL
public static ButtonEnumerations.SaveCancelEnum[] values()
for (ButtonEnumerations.SaveCancelEnum c : ButtonEnumerations.SaveCancelEnum.values()) System.out.println(c);
public static ButtonEnumerations.SaveCancelEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getText()
getText
in interface ButtonEnumerations.ButtonEnum
public KSButtonAbstract.ButtonStyle getStyle()
getStyle
in interface ButtonEnumerations.ButtonEnum
public ButtonEnumerations.ButtonEnum getActionType()
getActionType
in interface ButtonEnumerations.ButtonEnum
public ButtonEnumerations.ButtonEnum getCancelType()
getCancelType
in interface ButtonEnumerations.ButtonEnum
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.