Class ModelFormField.MenuField

  • Enclosing class:
    ModelFormField

    public static class ModelFormField.MenuField
    extends FieldInfo
    Models the <include-menu> element.
    See Also:
    widget-form.xsd
    • Constructor Detail

      • MenuField

        public MenuField​(org.w3c.dom.Element element,
                         ModelFormField modelFormField)
    • Method Detail

      • getMenuName

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

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

        public void renderFieldString​(java.lang.Appendable writer,
                                      java.util.Map<java.lang.String,​java.lang.Object> context,
                                      FormStringRenderer formStringRenderer)
                               throws java.io.IOException
        Specified by:
        renderFieldString in class FieldInfo
        Throws:
        java.io.IOException
      • getModelMenu

        public ModelMenu getModelMenu​(java.util.Map<java.lang.String,​java.lang.Object> context)