Class SyncTypeAttributeDataTreeItemRenderer

java.lang.Object
com.hybris.backoffice.widgets.selectivesync.tree.SyncTypeAttributeDataTreeItemRenderer
All Implemented Interfaces:
org.zkoss.zul.TreeitemRenderer<SyncTypeAttributeDataTreeNode>

public class SyncTypeAttributeDataTreeItemRenderer extends Object implements org.zkoss.zul.TreeitemRenderer<SyncTypeAttributeDataTreeNode>
A custom TreeitemRenderer implementation to render synchronization attributes in a tree structure and the types they belong to. Used by the SelectiveSyncRenderer. It allows the changes made on attributes and type levels to be propagated up and down the tree to show the status of the type accordingly.
  • Constructor Details

  • Method Details

    • render

      public void render(org.zkoss.zul.Treeitem treeitem, SyncTypeAttributeDataTreeNode treeNode, int index)
      Specified by:
      render in interface org.zkoss.zul.TreeitemRenderer<SyncTypeAttributeDataTreeNode>
    • createTreerow

      protected org.zkoss.zul.Treerow createTreerow(org.zkoss.zul.Treeitem treeitem)
    • createTreecell

      protected org.zkoss.zul.Treecell createTreecell(org.zkoss.zul.Treerow treeRow)
    • createTreeCellInnerCnt

      protected org.zkoss.zul.Div createTreeCellInnerCnt(org.zkoss.zul.Treecell treeCell)
    • renderNode

      protected void renderNode(SyncTypeAttributeDataTreeNode treeNode, org.zkoss.zul.Div treeCellInnerCnt, org.zkoss.zul.Treecell treecell)
    • canBeRead

      protected boolean canBeRead(Object object)
    • renderNoReadAccess

      protected void renderNoReadAccess(org.zkoss.zul.Div treeCellInnerCnt, org.zkoss.zul.Treecell treecell)
    • renderTypeNode

      protected void renderTypeNode(SyncTypeAttributeDataTreeNode treeNode, org.zkoss.zul.Div treeCellInnerCnt, org.zkoss.zul.Treecell treecell)
    • createTreeLabelContainer

      protected org.zkoss.zul.Div createTreeLabelContainer(org.zkoss.zul.Div typeNodeDiv)
    • createIconDiv

      protected org.zkoss.zul.Div createIconDiv(org.zkoss.zul.Div typeNodeDiv)
    • createTypeLabel

      protected org.zkoss.zul.Label createTypeLabel(org.zkoss.zul.Div labelDiv, String typeLabel)
    • typeNodeOnClick

      @Deprecated(since="6.7", forRemoval=true) protected void typeNodeOnClick()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • typeNodeOnClick

      protected void typeNodeOnClick(org.zkoss.zk.ui.event.MouseEvent event)
    • noReadAccessOnClick

      protected void noReadAccessOnClick()
    • typeNodeOnCheck

      protected void typeNodeOnCheck(SyncTypeAttributeDataTreeNode treeNode, org.zkoss.zk.ui.event.CheckEvent event)
    • attributeNodeOnCheck

      protected void attributeNodeOnCheck(SyncTypeAttributeDataTreeNode treeNode, SyncAttributeDescriptorConfigModel syncAttributeConfig, org.zkoss.zk.ui.event.CheckEvent event)
    • renderAttributeNode

      protected void renderAttributeNode(SyncTypeAttributeDataTreeNode treeNode, org.zkoss.zul.Div treeCellInnerCnt, org.zkoss.zul.Treecell treecell)
    • createAttributeLabel

      protected void createAttributeLabel(org.zkoss.zul.Div labelDiv, String attributeLabel)
    • openSelectedSyncAttribute

      protected void openSelectedSyncAttribute(SyncAttributeDescriptorConfigModel syncAttributeDescriptor, SyncTypeAttributeDataTreeNode treeNode)