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