|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.controlx.impl.TemplatedRenderer
public class TemplatedRenderer
Used the classname by default to get the template to render.
Constructor Summary | |
---|---|
TemplatedRenderer()
Uses the controls class name to construct the template name |
|
TemplatedRenderer(String templateName)
|
Method Summary | |
---|---|
String |
getMessage(String key)
Get the message from the renderer. |
info.magnolia.cms.i18n.Messages |
getMessages()
Get the messages used for the rendering. |
String |
getTemplateName()
|
protected String |
getTemplateName(Control control)
|
String |
render(Control control)
Render the using the template. |
void |
setTemplateName(String templateName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplatedRenderer()
public TemplatedRenderer(String templateName)
templateName
- Method Detail |
---|
public String render(Control control)
render
in interface Renderer
public String getMessage(String key)
key
-
public info.magnolia.cms.i18n.Messages getMessages()
protected String getTemplateName(Control control)
public String getTemplateName()
public void setTemplateName(String templateName)
templateName
- The templateName to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |