com.cc.framework.ui.model
Interface MessageDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ButtonContainer, ClientHandler, ControlDesignModel, DesignModel, FrameContainer
All Known Implementing Classes:
MessageDesignModelImp

public interface MessageDesignModel
extends ControlDesignModel, FrameContainer

Design model for the MessageControl

Version:
$Revision: 1.7 $
Author:
Gernot Schulz

Method Summary
 boolean filter()
          Returns if the filter is activated (default=true).
 java.lang.String getCaption()
          Returns the Caption
 java.lang.String getDetail()
          Returns the Detail String
 java.lang.String getFormId()
          Returns the Form Id
 Severity getSeverity()
          Returns the Severity of the Message
 void setCaption(java.lang.String caption)
          Sets the Caption
 void setDetail(java.lang.String detail)
          Sets the Details
 void setFilter(boolean filter)
          Activates the HTML encoding (filter).
 void setFormId(java.lang.String formid)
          Sets the Form Id
 void setSeverity(Severity severity)
          sets the Severity
 
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
 
Methods inherited from interface com.cc.framework.ui.model.FrameContainer
addInnerFrame, getImage, getInnerFrames, setImage
 
Methods inherited from interface com.cc.framework.ui.model.ButtonContainer
getButtonPermission, setButtonPermission, showButton
 

Method Detail

getFormId

public java.lang.String getFormId()
Returns the Form Id

Returns:
String

setFormId

public void setFormId(java.lang.String formid)
Sets the Form Id

Parameters:
formid - Form Id

getCaption

public java.lang.String getCaption()
Returns the Caption

Returns:
String

setCaption

public void setCaption(java.lang.String caption)
Sets the Caption

Parameters:
caption - Caption

getDetail

public java.lang.String getDetail()
Returns the Detail String

Returns:
String

setDetail

public void setDetail(java.lang.String detail)
Sets the Details

Parameters:
detail - Details

getSeverity

public Severity getSeverity()
Returns the Severity of the Message

Returns:
Severity

setSeverity

public void setSeverity(Severity severity)
sets the Severity

Parameters:
severity - Severity

filter

public boolean filter()
Returns if the filter is activated (default=true). This means that all Strings which should be displayed in the HTML page are HTML encoded

Returns:
true if string will be HTML encoded; false otherwise

setFilter

public void setFilter(boolean filter)
Activates the HTML encoding (filter). Default is true. This means that all Strings which should be displayed in the HTML page will be HTML encoded.

Parameters:
filter - true if strings should be HTML encoded; false otherwise


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