com.cc.framework.ui.control
Class InfoControl

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

public class InfoControl
extends Control
implements InfoStateModel

The info control

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

Field Summary
private  InfoDataModel dataModel
          Data model
private  InfoDesignModel designModel
          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
InfoControl()
          Constructor
 
Method Summary
 java.lang.String getBase()
          Gets the base directory for the resource
 java.lang.String getContent()
          Retrieves the raw HTML content of the control
 DataModel getDataModel()
          Returns the data model of the Control
 ControlDesignModel getDesignModel()
          Returns the design model of the control
 java.lang.String getResource()
          Returns the resource.
 StateModel getStateModel()
          Returns the state model of the control
 void reset()
          Resets the actual state of a control to the initial state
 void setDataModel(InfoDataModel dataModel)
          Sets the data model
 void setDesignModel(InfoDesignModel designModel)
          Sets the design model
 boolean showFrame()
           
 
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 InfoDataModel dataModel
Data model


designModel

private InfoDesignModel designModel
Design model

Constructor Detail

InfoControl

public InfoControl()
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(InfoDataModel dataModel)
Sets the data model

Parameters:
dataModel - DataModel

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()

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()

setDesignModel

public void setDesignModel(InfoDesignModel designModel)
Sets the design model

Parameters:
designModel - InfoDesignModel

getResource

public java.lang.String getResource()
Returns the resource.

Returns:
String

getBase

public java.lang.String getBase()
Gets the base directory for the resource

Returns:
base directory or null

showFrame

public boolean showFrame()
Returns:
true if the frame should be shown

getContent

public java.lang.String getContent()
Retrieves the raw HTML content of the control

Returns:
raw HTML content

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.