org.icefaces.ace.component.tabset
Enum TabPaneCache
java.lang.Object
java.lang.Enum<TabPaneCache>
org.icefaces.ace.component.tabset.TabPaneCache
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TabPaneCache>
public enum TabPaneCache
- extends java.lang.Enum<TabPaneCache>
Server side TabPane content is either not cached, or it is dynamically
cached, or statically cached. If it is dynamically cached, then once the
content has bee sent to the browser, it will continue to be rendered each
lifecycle, and the rendered output will be dom differenced, and only
updated as necessary. If it is statically cached, then it is not rendered,
and will not be updated.
The special mode static auto means that it's usually static, but under
certain circumstances it will automatically turn dynamic for that lifecycle
and then return to being static on subsequent lifecycles.
The special mode dynamic revert static auto is when the static auto mode
can't detect the need for the temporary switch, and it needs to be done
manually for the lifecycle.
Field Summary |
static java.lang.String |
DEFAULT
|
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final TabPaneCache NONE
DYNAMIC
public static final TabPaneCache DYNAMIC
STATIC
public static final TabPaneCache STATIC
STATIC_AUTO
public static final TabPaneCache STATIC_AUTO
DYNAMIC_REVERT_STATIC_AUTO
public static final TabPaneCache DYNAMIC_REVERT_STATIC_AUTO
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
values
public static final TabPaneCache[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TabPaneCache c : TabPaneCache.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TabPaneCache valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
get
public static TabPaneCache get(java.lang.String find)
resolve
public TabPaneCache resolve(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent tab)
getNamed
public java.lang.String getNamed()
isCached
public boolean isCached()
isCachedStatically
public boolean isCachedStatically()
getRevertTo
public TabPaneCache getRevertTo()
Copyright 2013 ICEsoft Technologies Canada Corp., All Rights Reserved.