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

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.PanelDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, PanelDesignModel, java.io.Serializable

public class PanelDesignModelImp
extends ControlDesignModelImp
implements PanelDesignModel

Designmodel for the PanelControl

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

Field Summary
private  java.util.ArrayList contents
          Buffer with the content of the panel
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
PanelDesignModelImp()
          Constructor
 
Method Summary
 PanelDesignModel addContent(PanelContentDesignModel newContent)
          Adds a content to a panel
 PanelContentDesignModel[] getContent()
          Returns a collection with content elements
 void removeContent(PanelContentDesignModel content)
          Removes a content from panel
 int size()
          Returns the number of contents
 
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

contents

private java.util.ArrayList contents
Buffer with the content of the panel

Constructor Detail

PanelDesignModelImp

public PanelDesignModelImp()
Constructor

Method Detail

addContent

public PanelDesignModel addContent(PanelContentDesignModel newContent)
Description copied from interface: PanelDesignModel
Adds a content to a panel

Specified by:
addContent in interface PanelDesignModel
Parameters:
newContent - PanelContentDesignModel
Returns:
PanelDesignModel
See Also:
PanelDesignModel.addContent(PanelContentDesignModel)

removeContent

public void removeContent(PanelContentDesignModel content)
Description copied from interface: PanelDesignModel
Removes a content from panel

Specified by:
removeContent in interface PanelDesignModel
Parameters:
content - Content to remove
See Also:
PanelDesignModel.removeContent(PanelContentDesignModel)

getContent

public PanelContentDesignModel[] getContent()
Description copied from interface: PanelDesignModel
Returns a collection with content elements

Specified by:
getContent in interface PanelDesignModel
Returns:
PanelContentDesignModel
See Also:
PanelDesignModel.getContent()

size

public int size()
Description copied from interface: PanelDesignModel
Returns the number of contents

Specified by:
size in interface PanelDesignModel
Returns:
integer
See Also:
PanelDesignModel.size()


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