org.kuali.student.common.ui.client.widgets
Enum KSLightBox.Size
java.lang.Object
java.lang.Enum<KSLightBox.Size>
org.kuali.student.common.ui.client.widgets.KSLightBox.Size
- All Implemented Interfaces:
- Serializable, Comparable<KSLightBox.Size>
- Enclosing class:
- KSLightBox
public static enum KSLightBox.Size
- extends Enum<KSLightBox.Size>
An enum that specifies predefined width and height values (in pixels) for the
lightbox.
SMALL
public static final KSLightBox.Size SMALL
MEDIUM
public static final KSLightBox.Size MEDIUM
LARGE
public static final KSLightBox.Size LARGE
width
private int width
height
private int height
values
public static KSLightBox.Size[] 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 (KSLightBox.Size c : KSLightBox.Size.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KSLightBox.Size 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
getWidth
public int getWidth()
getHeight
public int getHeight()
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.