org.kuali.student.common.ui.client.widgets
Enum KSButtonAbstract.ButtonStyle

java.lang.Object
  extended by java.lang.Enum<KSButtonAbstract.ButtonStyle>
      extended by 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>


Enum Constant Summary
ANCHOR_LARGE_CENTERED
           
DEFAULT_ANCHOR
           
DELETE
           
FORM_LARGE
           
FORM_SMALL
           
HELP
           
PRIMARY
           
PRIMARY_SMALL
           
SECONDARY
           
SECONDARY_SMALL
           
 
Field Summary
private  String disabledStyle
           
private  String style
           
 
Method Summary
 String getDisabledStyle()
           
 String getStyle()
           
static KSButtonAbstract.ButtonStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KSButtonAbstract.ButtonStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

style

private String style

disabledStyle

private String disabledStyle
Method Detail

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.