Enum WFigure.FigureMode
- java.lang.Object
-
- java.lang.Enum<WFigure.FigureMode>
-
- com.github.bordertech.wcomponents.WFigure.FigureMode
-
- All Implemented Interfaces:
Serializable
,Comparable<WFigure.FigureMode>
- Enclosing class:
- WFigure
public static enum WFigure.FigureMode extends Enum<WFigure.FigureMode>
The available types of AJAX mode.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WFigure.FigureMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static WFigure.FigureMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAZY
public static final WFigure.FigureMode LAZY
A lazy figure will load its content via AJAX when it is made visible.
-
EAGER
public static final WFigure.FigureMode EAGER
An eager figure will load its content via AJAX immediately after the page is loaded.
-
-
Method Detail
-
values
public static WFigure.FigureMode[] 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 (WFigure.FigureMode c : WFigure.FigureMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WFigure.FigureMode 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 nameNullPointerException
- if the argument is null
-
-