com.cc.framework.ui.painter.def
Class DefMessageErrorPainter

java.lang.Object
  extended bycom.cc.framework.ui.painter.ControlPainter
      extended bycom.cc.framework.ui.painter.def.DefPainterBase
          extended bycom.cc.framework.ui.painter.def.DefMessagePainter
              extended bycom.cc.framework.ui.painter.def.DefMessageErrorPainter

public class DefMessageErrorPainter
extends DefMessagePainter

Painter for the error control. This painter is responsible for writing message of type error.

Since:
1.0
Version:
$Revision: 1.27 $
Author:
Gernot Schulz

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.def.DefMessagePainter
IMAGES
 
Fields inherited from class com.cc.framework.ui.painter.ControlPainter
log
 
Constructor Summary
DefMessageErrorPainter(PainterContext painterContext, MessageControl ctrl)
          Constructor
 
Method Summary
protected  org.apache.ecs.html.IMG createSeverityImg(Message message)
          Returns a severity image for the given message
 java.lang.String getElementClass(int type)
          The method returns the HTML style class required for a list or treelist control.
 
Methods inherited from class com.cc.framework.ui.painter.def.DefMessagePainter
addMessage, doCreateBody, doCreateElement, doCreateFooter, doCreateHeader, doCreateTitleButtons, getCtrl, getFrameTitle, getMessages
 
Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon
 
Methods inherited from class com.cc.framework.ui.painter.ControlPainter
ajaxPaint, attr, attr, attr, beginPaint, createActionPainter, createActionPainter, createElement, createImage, createImage, createImage, createInput, createInput, createSpacer, createSpacer, createSpacer, decorateURL, doAddDecorationsToRow, doAddDecorationsToRow, doAfterCreate, doAttachDecorations, doBeforeCreate, encodeURL, endPaint, forceControlName, getAsString, getAwtColor, getColor, getContextPath, getControlName, getDecorationsOnce, getElementName, getFramePainter, getFrameworkString, getFrameworkString, getImage, getImage, getImage, getImageSrc, getImageSrc, getImageSrc, getLocale, getPageContext, getPainterContext, getPrincipal, getRequest, getResponse, getSession, getSmartCaption, getSmartDetail, getSource, getSource, getStringResource, getStyleId, html, html, html, init, isRunAtClient, localize, localize, localize, paint, removeHtml, removeHtml, request, response, session, showComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefMessageErrorPainter

public DefMessageErrorPainter(PainterContext painterContext,
                              MessageControl ctrl)
Constructor

Parameters:
painterContext - The PainterContext
ctrl - The Control to render
Method Detail

getElementClass

public java.lang.String getElementClass(int type)
Description copied from class: ControlPainter
The method returns the HTML style class required for a list or treelist control.

Overrides:
getElementClass in class DefPainterBase
See Also:
ControlPainter.getElementClass(int)

createSeverityImg

protected org.apache.ecs.html.IMG createSeverityImg(Message message)
Description copied from class: DefMessagePainter
Returns a severity image for the given message

Overrides:
createSeverityImg in class DefMessagePainter
Parameters:
message - Message
Returns:
Severity Image
See Also:
DefMessagePainter.createSeverityImg(com.cc.framework.message.Message)


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