Class SyncTypeAttributeDataTreeItemRenderer

  • All Implemented Interfaces:
    org.zkoss.zul.TreeitemRenderer<SyncTypeAttributeDataTreeNode>

    public class SyncTypeAttributeDataTreeItemRenderer
    extends java.lang.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.
    • Method Detail

      • 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​(java.lang.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,
                                                      java.lang.String typeLabel)
      • typeNodeOnClick

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

        protected void noReadAccessOnClick()
      • 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,
                                            java.lang.String attributeLabel)