Class ModelFormField.DropDownField

    • Constructor Detail

      • DropDownField

        public DropDownField​(org.w3c.dom.Element element,
                             ModelFormField modelFormField)
      • DropDownField

        public DropDownField​(int fieldSource,
                             ModelFormField modelFormField)
      • DropDownField

        public DropDownField​(ModelFormField modelFormField)
    • Method Detail

      • getAllowMulti

        public boolean getAllowMulti()
      • getCurrent

        public java.lang.String getCurrent()
      • getCurrentDescription

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

        public int getOtherFieldSize()
      • getParameterNameOther

        public java.lang.String getParameterNameOther​(java.util.Map<java.lang.String,​java.lang.Object> context)
        Get the name to use for the parameter for this field in the form interpreter. For HTML forms this is the request parameter name.
        Parameters:
        context - the context
        Returns:
        returns the name to use for the parameter for this field in the form interpreter.
      • getSize

        public java.lang.String getSize()
      • getTextSize

        public java.lang.String getTextSize()
      • getAllowEmpty

        public boolean getAllowEmpty()
      • getAllowMultiple

        public boolean getAllowMultiple()
      • 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