|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.ControlPainter com.cc.framework.ui.painter.def.DefPainterBase com.cc.framework.ui.painter.def.DefMessagePainter com.cc.framework.ui.painter.def.DefMessageErrorPainter
Painter for the error control. This painter is responsible for writing message of type error.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefMessageErrorPainter(PainterContext painterContext, MessageControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
public java.lang.String getElementClass(int type)
ControlPainter
getElementClass
in class DefPainterBase
ControlPainter.getElementClass(int)
protected org.apache.ecs.html.IMG createSeverityImg(Message message)
DefMessagePainter
createSeverityImg
in class DefMessagePainter
message
- Message
DefMessagePainter.createSeverityImg(com.cc.framework.message.Message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |