com.ebasetech.xi.api.controls
Interface ContainerControl

All Superinterfaces:
Control, Element, EventOwner, MessageContainer, java.io.Serializable, WebFormEventOwner
All Known Subinterfaces:
GridCellControl, GridControl, GroupAndPagePanelProperties, GroupPanelControl, HorizontalMenuControl, LayoutControl, MenuControl, PageControl, PagePanelControl, PanelControl, RepeatingTableControl, RepeatingTableRowControl, 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
 Control[] getChildControls()
          Returns an array of controls that are immediate children of this control.
 
Methods inherited from interface com.ebasetech.xi.api.controls.Control
getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, show
 
Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementType
 
Methods inherited from interface com.ebasetech.xi.api.MessageContainer
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, existErrorMessages, existMessages, existWarningMessages
 

Method Detail

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