Package org.zkoss.zk.ui.sys
Class ShadowElementsCtrl
java.lang.Object
org.zkoss.zk.ui.sys.ShadowElementsCtrl
Utilities for implementing components. (Internal use only)
- Since:
- 8.0.0
- Author:
- jumperchen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Component[]filterOutShadows(Component[] shadows) Returns the component array filter out shadows if any.static final ObjectReturns the current shadow element, which is used only byUiEngineto communicate withHtmlShadowElement.static final ObjectReturns the current distributed index info, which is used only byHtmlShadowElement.static final voidsetCurrentInfo(Object shadowInfo) Sets the current shadow element, which is used only byUiEngineto communicate withHtmlShadowElement.static final voidsetDistributedIndexInfo(Component host, Object indexMapInfo) Sets the current distributed index info, which is used only byHtmlShadowElement.
-
Constructor Details
-
ShadowElementsCtrl
public ShadowElementsCtrl()
-
-
Method Details
-
setCurrentInfo
Sets the current shadow element, which is used only byUiEngineto communicate withHtmlShadowElement.Used only internally.
-
getCurrentInfo
Returns the current shadow element, which is used only byUiEngineto communicate withHtmlShadowElement.Used only internally.
-
setDistributedIndexInfo
Sets the current distributed index info, which is used only byHtmlShadowElement.Used only internally.
-
getDistributedIndexInfo
Returns the current distributed index info, which is used only byHtmlShadowElement.Used only internally.
-
filterOutShadows
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.
-