com.cc.framework.ui.model
Interface PanelDesignModel

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

public interface PanelDesignModel
extends ControlDesignModel

Design model for the Panel

Since:
1.0
Version:
$Revision: 1.8 $
Author:
Harald Schulz

Method Summary
 PanelDesignModel addContent(PanelContentDesignModel content)
          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 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

addContent

public PanelDesignModel addContent(PanelContentDesignModel content)
Adds a content to a panel

Parameters:
content - PanelContentDesignModel
Returns:
PanelDesignModel

removeContent

public void removeContent(PanelContentDesignModel content)
Removes a content from panel

Parameters:
content - Content to remove

getContent

public PanelContentDesignModel[] getContent()
Returns a collection with content elements

Returns:
PanelContentDesignModel

size

public int size()
Returns the number of contents

Returns:
integer


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