|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.painter.ControlPainter
com.cc.framework.ui.painter.def.DefPainterBase
com.cc.framework.ui.painter.def.DefMessagePainter
Base class for the message controls
| Field Summary | |
static java.lang.String[] |
IMAGES
Images for the different severities |
| Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
| Constructor Summary | |
DefMessagePainter(PainterContext painterContext,
MessageControl ctrl)
Constructor |
|
| Method Summary | |
protected org.apache.ecs.ConcreteElement |
addMessage(Message message)
Adds a single Message |
protected org.apache.ecs.html.IMG |
createSeverityImg(Message message)
Returns a severity image for the given message |
protected org.apache.ecs.ConcreteElement |
doCreateBody()
Template method that gets called when the body of the control should be rendered. |
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML-Element. |
protected org.apache.ecs.ConcreteElement |
doCreateFooter()
Creates an additional footer. |
protected org.apache.ecs.ConcreteElement |
doCreateHeader()
Creates an additional header. |
protected java.util.Collection |
doCreateTitleButtons()
Creates the buttons in the header of the list |
protected MessageControl |
getCtrl()
Retrieves the control for this painter |
protected FrameTitle |
getFrameTitle()
Creates the Title for the Frame |
protected Message[] |
getMessages()
Returns a list of messages that is filtered to the controls severity |
| Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase |
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon, getElementClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String[] IMAGES
| Constructor Detail |
public DefMessagePainter(PainterContext painterContext,
MessageControl ctrl)
painterContext - The PainterContextctrl - The Control to render| Method Detail |
protected MessageControl getCtrl()
protected Message[] getMessages()
protected org.apache.ecs.html.IMG createSeverityImg(Message message)
message - Message
protected org.apache.ecs.ConcreteElement doCreateHeader()
protected org.apache.ecs.ConcreteElement doCreateBody()
protected org.apache.ecs.ConcreteElement doCreateFooter()
protected org.apache.ecs.ConcreteElement addMessage(Message message)
message - The message to add
protected java.util.Collection doCreateTitleButtons()
protected FrameTitle getFrameTitle()
nullprotected org.apache.ecs.ConcreteElement doCreateElement()
ControlPainter
doCreateElement in class ControlPainterControlPainter.doCreateElement()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||