Class SyncTypeAttributeDataTreeNode

  • All Implemented Interfaces:
    TreeItemSelectable

    public class SyncTypeAttributeDataTreeNode
    extends java.lang.Object
    implements TreeItemSelectable
    Model for attribute tree node. There are nodes of two kinds: TYPE (node) or ATTRIBUTE (leaf).
    • Method Detail

      • createRootNode

        public static SyncTypeAttributeDataTreeNode createRootNode()
        Creates root node. It should be added as root in tree model, ZK component tree, do not show this root node.
      • getText

        public java.lang.String getText()
      • getCheckbox

        public org.zkoss.zul.Checkbox getCheckbox()
      • isAttribute

        public boolean isAttribute()
        Determines if this is an attribute node.
        Returns:
        true if it is attribute node, false for type node
      • isType

        public boolean isType()
        Determines if this is an type node.
        Returns:
        true if it is type node, false for attribute node.
      • updateCheckboxSClass

        protected void updateCheckboxSClass()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object