Class ModelTree.ModelNode

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ModelTree

    public static class ModelTree.ModelNode
    extends ModelWidget
    Models the <node> element.
    See Also:
    widget-tree.xsd, Serialized Form
    • Constructor Detail

      • ModelNode

        public ModelNode​(org.w3c.dom.Element nodeElement,
                         ModelTree modelTree)
    • Method Detail

      • getEntityName

        public java.lang.String getEntityName()
      • getEntryName

        public java.lang.String getEntryName()
      • getExpandCollapseStyle

        public java.lang.String getExpandCollapseStyle()
      • getModelTree

        public ModelTree getModelTree()
      • getPkName

        public java.lang.String getPkName​(java.util.Map<java.lang.String,​java.lang.Object> context)
      • getRenderStyle

        public java.lang.String getRenderStyle()
      • getWrapStyle

        public java.lang.String getWrapStyle​(java.util.Map<java.lang.String,​java.lang.Object> context)
      • hasChildren

        public boolean hasChildren​(java.util.Map<java.lang.String,​java.lang.Object> context)
      • isExpandCollapse

        public boolean isExpandCollapse()
      • isFollowTrail

        public boolean isFollowTrail()
      • isRootNode

        public boolean isRootNode()
      • renderNodeString

        public void renderNodeString​(java.lang.Appendable writer,
                                     java.util.Map<java.lang.String,​java.lang.Object> context,
                                     TreeStringRenderer treeStringRenderer,
                                     int depth)
                              throws java.io.IOException,
                                     GeneralException
        Throws:
        java.io.IOException
        GeneralException
      • showPeers

        public boolean showPeers​(int currentDepth,
                                 java.util.Map<java.lang.String,​java.lang.Object> context)
      • getActions

        public java.util.List<ModelAction> getActions()
      • getPkName

        public java.lang.String getPkName()
      • getShareScope

        public java.lang.String getShareScope()