|
|||||||||||
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.DefPanelPainter
Painter for the Panel Control
Field Summary |
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
DefPanelPainter(PainterContext painterContext,
PanelControl ctrl)
Constructor |
Method Summary | |
protected org.apache.ecs.ConcreteElement |
doCreateBody(PanelContentDesignModel content)
Paints the Panel Body |
protected java.lang.StringBuffer |
doCreateDetail(PanelContentDesignModel content,
PanelItemDesignModel item)
Creates the detail |
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML Code for the following Elements: Title Body Footer (optional) |
protected java.lang.StringBuffer |
doCreateImage(ImageModel image)
Creates the image |
protected java.lang.StringBuffer |
doCreateLink(PanelContentDesignModel content,
PanelItemDesignModel item)
Creates the hyperlink |
protected java.lang.StringBuffer |
doCreateSpacer()
Creates a Spacer between the items |
protected boolean |
filter(PanelContentDesignModel content)
Retrieves the filter setting for a given content element |
protected boolean |
filter(PanelContentDesignModel content,
PanelItemDesignModel item)
Retrieves the filter setting for a given item element |
protected PanelControl |
getCtrl()
Retrieves the control for this painter |
protected FrameTitle |
getFrameTitle()
Creates the Title for the Frame |
protected FrameTitle |
getFrameTitle(PanelContentDesignModel content)
Creates the Title for the Frame |
protected java.util.Locale |
getLocale(PanelContentDesignModel content)
Retrieves the locale to use for a given content element |
protected java.util.Locale |
getLocale(PanelContentDesignModel content,
PanelItemDesignModel item)
Retrieves the locale to use for a given content element |
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 |
Constructor Detail |
public DefPanelPainter(PainterContext painterContext, PanelControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
protected PanelControl getCtrl()
protected boolean filter(PanelContentDesignModel content)
content
- Content element
protected boolean filter(PanelContentDesignModel content, PanelItemDesignModel item)
content
- Content elementitem
- Panel item
protected java.util.Locale getLocale(PanelContentDesignModel content)
content
- Content element
protected java.util.Locale getLocale(PanelContentDesignModel content, PanelItemDesignModel item)
content
- Content elementitem
- Panel item
protected org.apache.ecs.ConcreteElement doCreateBody(PanelContentDesignModel content)
content
- Panel Content
protected java.lang.StringBuffer doCreateImage(ImageModel image)
image
- The ImageModel for the current panel item
protected java.lang.StringBuffer doCreateLink(PanelContentDesignModel content, PanelItemDesignModel item)
content
- Content elementitem
- The PanelItemDesignModel for the current panel item
protected java.lang.StringBuffer doCreateDetail(PanelContentDesignModel content, PanelItemDesignModel item)
content
- Content elementitem
- The PanelItemDesignModel for the current panel item
protected java.lang.StringBuffer doCreateSpacer()
protected FrameTitle getFrameTitle()
null
protected FrameTitle getFrameTitle(PanelContentDesignModel content)
content
- The Panel content section
null
protected org.apache.ecs.ConcreteElement doCreateElement()
doCreateElement
in class ControlPainter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |