Package org.zkoss.zk.ui.sys
Class ShadowElementsCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.sys.ShadowElementsCtrl
-
public class ShadowElementsCtrl extends java.lang.Object
Utilities for implementing components. (Internal use only)- Since:
- 8.0.0
- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description ShadowElementsCtrl()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Component[]
filterOutShadows(Component[] shadows)
Returns the component array filter out shadows if any.static java.lang.Object
getCurrentInfo()
Returns the current shadow element, which is used only byUiEngine
to communicate withHtmlShadowElement
.static java.lang.Object
getDistributedIndexInfo(Component host)
Returns the current distributed index info, which is used only byHtmlShadowElement
.static void
setCurrentInfo(java.lang.Object shadowInfo)
Sets the current shadow element, which is used only byUiEngine
to communicate withHtmlShadowElement
.static void
setDistributedIndexInfo(Component host, java.lang.Object indexMapInfo)
Sets the current distributed index info, which is used only byHtmlShadowElement
.
-
-
-
Method Detail
-
setCurrentInfo
public static final void setCurrentInfo(java.lang.Object shadowInfo)
Sets the current shadow element, which is used only byUiEngine
to communicate withHtmlShadowElement
.Used only internally.
-
getCurrentInfo
public static final java.lang.Object getCurrentInfo()
Returns the current shadow element, which is used only byUiEngine
to communicate withHtmlShadowElement
.Used only internally.
-
setDistributedIndexInfo
public static final void setDistributedIndexInfo(Component host, java.lang.Object indexMapInfo)
Sets the current distributed index info, which is used only byHtmlShadowElement
.Used only internally.
-
getDistributedIndexInfo
public static final java.lang.Object getDistributedIndexInfo(Component host)
Returns the current distributed index info, which is used only byHtmlShadowElement
.Used only internally.
-
filterOutShadows
public static final Component[] filterOutShadows(Component[] shadows)
Returns the component array filter out shadows if any. (Most often used for the component developer to invokeTemplate.create(Component, Component, org.zkoss.xel.VariableResolver, org.zkoss.zk.ui.util.Composer)
by themselves and invoke this to filter out shadows.
-
-