com.cc.framework.ui.control
Class PanelControl

java.lang.Object
  extended bycom.cc.framework.ui.control.Control
      extended bycom.cc.framework.ui.control.PanelControl
All Implemented Interfaces:
AccessControlled, ActionBehavior, ClientHandler, PanelStateModel, java.io.Serializable, StateModel

public class PanelControl
extends Control
implements PanelStateModel

Class PanelControl.

Version:
$Revision: 1.12 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  PanelDataModel dataModel
          The data model
private  PanelDesignModel designModel
          The design model
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.control.Control
log
 
Fields inherited from interface com.cc.framework.ui.model.StateModel
PROP_CONTROL
 
Constructor Summary
PanelControl()
          Constructor
 
Method Summary
 PanelContentDesignModel[] getContent()
          Returns a collection with content elements
 DataModel getDataModel()
          Returns the data model of the Control
 ControlDesignModel getDesignModel()
          Returns the design model of the control
 StateModel getStateModel()
          Returns the state model of the control
 void reset()
          Resets the actual state of a control to the initial state
 void setDataModel(PanelDataModel dataModel)
          Sets the data model
 void setDesignModel(PanelDesignModel designModel)
          sets the design model
 
Methods inherited from class com.cc.framework.ui.control.Control
addButton, allowAjaxRendering, execute, execute, execute, execute, execute, execute, execute, getAction, getAjaxId, getButtons, getControlName, getDesignRules, getFrameworkString, getHandler, getHandlers, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getPrincipal, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getUniqueStyleId, getWidth, isAjaxEnabled, isDisabled, isFormElement, markDirty, onHelp, setAjaxAttribute, setHandler, setPrincipal, setValue, show, showButton, synchronizeState, synchronizeState
 
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.StateModel
synchronizeState
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

dataModel

private PanelDataModel dataModel
The data model


designModel

private PanelDesignModel designModel
The design model

Constructor Detail

PanelControl

public PanelControl()
Constructor

Method Detail

getDataModel

public DataModel getDataModel()
Description copied from class: Control
Returns the data model of the Control

Specified by:
getDataModel in class Control
Returns:
The data model
See Also:
Control.getDataModel()

setDataModel

public void setDataModel(PanelDataModel dataModel)
Sets the data model

Parameters:
dataModel - PanelDataModel

getDesignModel

public ControlDesignModel getDesignModel()
Description copied from class: Control
Returns the design model of the control

Specified by:
getDesignModel in class Control
Returns:
The ControlDesignModel
See Also:
Control.getDesignModel()

setDesignModel

public void setDesignModel(PanelDesignModel designModel)
sets the design model

Parameters:
designModel - PanelDesignModel

getStateModel

public StateModel getStateModel()
Description copied from class: Control
Returns the state model of the control

Specified by:
getStateModel in class Control
Returns:
The state model
See Also:
Control.getStateModel()

getContent

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

Returns:
PanelContentDesignModel

reset

public void reset()
Description copied from interface: StateModel
Resets the actual state of a control to the initial state

Specified by:
reset in interface StateModel
See Also:
StateModel.reset()


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