org.kuali.student.common.ui.client.widgets
Enum KSButtonAbstract.ButtonStyle
java.lang.Object
java.lang.Enum<KSButtonAbstract.ButtonStyle>
org.kuali.student.common.ui.client.widgets.KSButtonAbstract.ButtonStyle
- All Implemented Interfaces:
- Serializable, Comparable<KSButtonAbstract.ButtonStyle>
- Enclosing class:
- KSButtonAbstract
public static enum KSButtonAbstract.ButtonStyle
- extends Enum<KSButtonAbstract.ButtonStyle>
PRIMARY
public static final KSButtonAbstract.ButtonStyle PRIMARY
SECONDARY
public static final KSButtonAbstract.ButtonStyle SECONDARY
PRIMARY_SMALL
public static final KSButtonAbstract.ButtonStyle PRIMARY_SMALL
SECONDARY_SMALL
public static final KSButtonAbstract.ButtonStyle SECONDARY_SMALL
FORM_SMALL
public static final KSButtonAbstract.ButtonStyle FORM_SMALL
FORM_LARGE
public static final KSButtonAbstract.ButtonStyle FORM_LARGE
HELP
public static final KSButtonAbstract.ButtonStyle HELP
DELETE
public static final KSButtonAbstract.ButtonStyle DELETE
ANCHOR_LARGE_CENTERED
public static final KSButtonAbstract.ButtonStyle ANCHOR_LARGE_CENTERED
DEFAULT_ANCHOR
public static final KSButtonAbstract.ButtonStyle DEFAULT_ANCHOR
style
private String style
disabledStyle
private String disabledStyle
values
public static KSButtonAbstract.ButtonStyle[] 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 (KSButtonAbstract.ButtonStyle c : KSButtonAbstract.ButtonStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KSButtonAbstract.ButtonStyle 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 name
NullPointerException
- if the argument is null
getStyle
public String getStyle()
getDisabledStyle
public String getDisabledStyle()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.