Class ModelTree

  • All Implemented Interfaces:

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

      • module

        public static final java.lang.String module
      • forceChildCheck

        protected final boolean forceChildCheck
    • Constructor Detail

      • ModelTree

        public ModelTree​(org.w3c.dom.Element treeElement,
                         java.lang.String location)
    • Method Detail

      • getBoundaryCommentName

        public java.lang.String getBoundaryCommentName()
        Description copied from class: ModelWidget
        Returns the widget's name to be used in boundary comments. The default action is to return the widget's name. Derived classes can override this method to return a customized name.
        getBoundaryCommentName in class ModelWidget
        Name to be used in boundary comments
      • getDefaultEntityName

        public java.lang.String getDefaultEntityName()
      • getDefaultPkName

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

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

        public int getOpenDepth()
      • getPostTrailOpenDepth

        public int getPostTrailOpenDepth()
      • getRenderStyle

        public java.lang.String getRenderStyle()
      • getRootNodeName

        public java.lang.String getRootNodeName()
      • getTrailName

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

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

        public void renderTreeString​(java.lang.Appendable writer,
                                     java.util.Map<java.lang.String,​java.lang.Object> context,
                                     TreeStringRenderer treeStringRenderer)
                              throws GeneralException
        Renders this model.
        writer -
        context -
        treeStringRenderer -
      • getDefaultRenderStyle

        public java.lang.String getDefaultRenderStyle()
      • getForceChildCheck

        public boolean getForceChildCheck()
      • getLocation

        public java.lang.String getLocation()