org.cruxframework.crux.core.client.screen
Enum LazyPanelWrappingType

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

Enum Constant Summary
wrapChildren
           
wrapWholeWidget
           
 
Method Summary
static LazyPanelWrappingType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LazyPanelWrappingType[] 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

wrapChildren

public static final LazyPanelWrappingType wrapChildren

wrapWholeWidget

public static final LazyPanelWrappingType wrapWholeWidget
Method Detail

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.