|
||||||||||
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(ListControl list,
Object value)
|
String |
getConstructorArguments(ListControl list)
The arguments passed to the constructor. |
String |
getJavaScriptClass()
Defines the class/constructor function used to instantiate the javascript list object. |
String |
getJavaScriptObject(ListControl list,
Integer index)
|
boolean |
isBorder()
|
String |
onDblClick(ListControl list,
Integer index)
Render the double click event |
String |
onRightClick(ListControl list,
Integer index)
Show the context menu |
String |
onSelect(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(ListControl list, Integer index)
onSelect
in class ListControlRenderer
public String onRightClick(ListControl list, Integer index)
onRightClick
in class ListControlRenderer
public String onDblClick(ListControl list, Integer index)
ListControlRenderer
onDblClick
in class ListControlRenderer
public String getJavaScriptObject(ListControl list, Integer index)
protected String buildJavaScriptObject(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(ListControl list)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |