Class AttributeChooserTreeItemRenderer
- java.lang.Object
-
- com.hybris.backoffice.attributechooser.AttributeChooserTreeItemRenderer
-
- All Implemented Interfaces:
org.zkoss.zul.TreeitemRenderer<org.zkoss.zul.DefaultTreeNode<Attribute>>
public class AttributeChooserTreeItemRenderer extends java.lang.Object implements org.zkoss.zul.TreeitemRenderer<org.zkoss.zul.DefaultTreeNode<Attribute>>
Default item renderer for theAttributeChooserRenderer
-
-
Constructor Summary
Constructors Constructor Description AttributeChooserTreeItemRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zul.LabelcreateLanguageMark(Attribute selectedAttribute)LabelServicegetLabelService()protected booleanhasLocalizedChildren(Attribute selectedAttribute)protected booleanisGroupingAttribute(org.zkoss.zul.DefaultTreeNode<Attribute> node)protected booleanisLocalizedChild(Attribute selectedAttribute)protected booleanisSubAttribute(Attribute attribute)voidrender(org.zkoss.zul.Treeitem item, org.zkoss.zul.DefaultTreeNode<Attribute> data, int i)voidsetLabelService(LabelService labelService)
-
-
-
Method Detail
-
render
public void render(org.zkoss.zul.Treeitem item, org.zkoss.zul.DefaultTreeNode<Attribute> data, int i)- Specified by:
renderin interfaceorg.zkoss.zul.TreeitemRenderer<org.zkoss.zul.DefaultTreeNode<Attribute>>
-
isLocalizedChild
protected boolean isLocalizedChild(Attribute selectedAttribute)
-
hasLocalizedChildren
protected boolean hasLocalizedChildren(Attribute selectedAttribute)
-
createLanguageMark
protected org.zkoss.zul.Label createLanguageMark(Attribute selectedAttribute)
-
isSubAttribute
protected boolean isSubAttribute(Attribute attribute)
-
isGroupingAttribute
protected boolean isGroupingAttribute(org.zkoss.zul.DefaultTreeNode<Attribute> node)
-
getLabelService
public LabelService getLabelService()
-
setLabelService
public void setLabelService(LabelService labelService)
-
-