org.cruxframework.crux.core.client.screen
Enum LazyPanelWrappingType
java.lang.Object
java.lang.Enum<LazyPanelWrappingType>
org.cruxframework.crux.core.client.screen.LazyPanelWrappingType
- All Implemented Interfaces:
- Serializable, Comparable<LazyPanelWrappingType>
public enum LazyPanelWrappingType
- extends Enum<LazyPanelWrappingType>
Contains the available lazyPanel wrapping models. wrapChildren is used
by widgets that needs to create some of its children lazily. wrapWholeWidget
is used when the whole widget must be rendered lazily, like when ScreenFactory
is parsing the CruxMetaData and find an invisible panel.
- Author:
- Thiago da Rosa de Bustamante
wrapChildren
public static final LazyPanelWrappingType wrapChildren
wrapWholeWidget
public static final LazyPanelWrappingType wrapWholeWidget
values
public static LazyPanelWrappingType[] 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 (LazyPanelWrappingType c : LazyPanelWrappingType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LazyPanelWrappingType 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
Copyright © 2014. All rights reserved.