com.cc.framework.ui.model
Interface ControlContainer

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel
All Known Implementing Classes:
ControlContainerImp

public interface ControlContainer
extends ControlDesignModel

Container for control elements.

Version:
$Revision: 1.8 $
Author:
Harald Schulz

Method Summary
 void addControl(Control control)
          Adds a new child element to the container
 Control[] getControls()
          Returns a list with all controls in the container
 void removeControl(Control control)
          Removes an existing control from the container
 int size()
          Returns the number of controls added to the container
 
Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth
 
Methods inherited from interface com.cc.framework.ui.model.ClientHandler
getHandler, getHandlers, setHandler
 
Methods inherited from interface com.cc.framework.ui.model.AccessControlled
getPermission, show
 
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior
isAjaxEnabled
 
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport
enableAjax, isAjaxEnabled
 

Method Detail

addControl

public void addControl(Control control)
Adds a new child element to the container

Parameters:
control - Control

removeControl

public void removeControl(Control control)
Removes an existing control from the container

Parameters:
control - Control

getControls

public Control[] getControls()
Returns a list with all controls in the container

Returns:
Control

size

public int size()
Returns the number of controls added to the container

Returns:
Number of controls


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.