|
||||||||||
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 info.magnolia.cms.gui.controlx.list.ListControlRenderer info.magnolia.module.admininterface.lists.AdminListControlRenderer
public class AdminListControlRenderer
Show the context menu if existing.
Field Summary | |
---|---|
static org.slf4j.Logger |
log
|
Constructor Summary | |
---|---|
AdminListControlRenderer()
Set the admin interface list template |
Method Summary | |
---|---|
protected String |
buildJavaScriptObject(info.magnolia.cms.gui.controlx.list.ListControl list,
Object value)
|
String |
getConstructorArguments(info.magnolia.cms.gui.controlx.list.ListControl list)
The arguments passed to the constructor. |
String |
getJavaScriptClass()
Defines the class/constructor function used to instantiate the javascript list object. |
String |
getJavaScriptObject(info.magnolia.cms.gui.controlx.list.ListControl list,
Integer index)
|
boolean |
isBorder()
|
String |
onDblClick(info.magnolia.cms.gui.controlx.list.ListControl list,
Integer index)
|
String |
onRightClick(info.magnolia.cms.gui.controlx.list.ListControl list,
Integer index)
Show the context menu |
String |
onSelect(info.magnolia.cms.gui.controlx.list.ListControl list,
Integer index)
Sets the selected id in the js object |
void |
setBorder(boolean border)
|
void |
setJavaScriptClass(String javaScriptClass)
|
String |
toViewId(String id)
|
Methods inherited from class info.magnolia.cms.gui.controlx.list.ListControlRenderer |
---|
getGroupLinkCSSClass, getSortLinkCSSClass, nextGroupByOrder, nextSortByOrder, onClick |
Methods inherited from class info.magnolia.cms.gui.controlx.impl.TemplatedRenderer |
---|
getMessage, getMessages, getTemplateName, getTemplateName, render, setTemplateName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.slf4j.Logger log
Constructor Detail |
---|
public AdminListControlRenderer()
Method Detail |
---|
public String onSelect(info.magnolia.cms.gui.controlx.list.ListControl list, Integer index)
onSelect
in class info.magnolia.cms.gui.controlx.list.ListControlRenderer
public String onRightClick(info.magnolia.cms.gui.controlx.list.ListControl list, Integer index)
onRightClick
in class info.magnolia.cms.gui.controlx.list.ListControlRenderer
public String onDblClick(info.magnolia.cms.gui.controlx.list.ListControl list, Integer index)
onDblClick
in class info.magnolia.cms.gui.controlx.list.ListControlRenderer
public String getJavaScriptObject(info.magnolia.cms.gui.controlx.list.ListControl list, Integer index)
protected String buildJavaScriptObject(info.magnolia.cms.gui.controlx.list.ListControl list, Object value)
public String toViewId(String id)
public boolean isBorder()
public void setBorder(boolean border)
public String getJavaScriptClass()
public void setJavaScriptClass(String javaScriptClass)
public String getConstructorArguments(info.magnolia.cms.gui.controlx.list.ListControl list)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |