com.cc.framework.ui.model.imp
Class ControlContainerImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ControlDesignModelImp
          extended bycom.cc.framework.ui.model.imp.ControlContainerImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlContainer, ControlDesignModel, DesignModel, java.io.Serializable

public abstract class ControlContainerImp
extends ControlDesignModelImp
implements ControlContainer

Designmodel for ControlContainer

Since:
1.0
Version:
$Revision: 1.14 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.util.ArrayList controls
          A buffer for the controls in the container
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
ControlContainerImp()
          Constructor
 
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 class com.cc.framework.ui.model.imp.ControlDesignModelImp
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, 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, show
 
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
evaluate, getHandler, getHandlers, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

controls

private java.util.ArrayList controls
A buffer for the controls in the container

Constructor Detail

ControlContainerImp

public ControlContainerImp()
Constructor

Method Detail

addControl

public void addControl(Control control)
Description copied from interface: ControlContainer
Adds a new child element to the container

Specified by:
addControl in interface ControlContainer
Parameters:
control - Control
See Also:
ControlContainer.addControl(com.cc.framework.ui.control.Control)

removeControl

public void removeControl(Control control)
Description copied from interface: ControlContainer
Removes an existing control from the container

Specified by:
removeControl in interface ControlContainer
Parameters:
control - Control
See Also:
ControlContainer.removeControl(com.cc.framework.ui.control.Control)

getControls

public Control[] getControls()
Description copied from interface: ControlContainer
Returns a list with all controls in the container

Specified by:
getControls in interface ControlContainer
Returns:
Control
See Also:
ControlContainer.getControls()

size

public int size()
Description copied from interface: ControlContainer
Returns the number of controls added to the container

Specified by:
size in interface ControlContainer
Returns:
Number of controls
See Also:
ControlContainer.size()


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