Package com.ebasetech.xi.api.controls
Interface ContainerControl
- All Superinterfaces:
Control,Element,EventOwner,MessageContainer,java.io.Serializable,WebFormEventOwner
- All Known Subinterfaces:
ArticleControl,AsideControl,BasicBlockControl,BootstrapColumnControl,BootstrapContainerControl,BootstrapRowControl,FooterControl,GridCellControl,GridControl,GroupAndPagePanelProperties,GroupPanelControl,HeaderControl,HorizontalMenuControl,LayoutControl,ListControl,ListItemControl,ListPanelControl,MainControl,MenuControl,NavControl,PageControl,PagePanelControl,PanelControl,RepeatingTableControl,RepeatingTableListControl,RepeatingTableListRowControl,RepeatingTableRowControl,SectionControl,TabControl,TableControl,TablePageControl,TabSetControl,TitlePanelControl,VerticalMenuControl
public interface ContainerControl extends Control
The
ContainerControl interface is implemented by all controls that can act as a container i.e. they can contain other controls.-
Method Summary
Modifier and Type Method Description Control[]getChildControls()Returns an array of controls that are immediate children of this control.Methods inherited from interface com.ebasetech.xi.api.controls.Control
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getRootHtmlElementProperties, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, showMethods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementTypeMethods inherited from interface com.ebasetech.xi.api.MessageContainer
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessages
-
Method Details
-
getChildControls
Control[] getChildControls()Returns an array of controls that are immediate children of this control.Javascript example:
for each (var ctrl in controls.PANEL1.childControls) { ctrl.backgroundColor = "yellow"; }- Returns:
- an array of child controls
- Since:
- V4.4
-