Class ModelFormField.DateTimeField

    • Constructor Detail

      • DateTimeField

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

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

        public DateTimeField​(int fieldSource,
                             java.lang.String type)
      • DateTimeField

        public DateTimeField​(ModelFormField modelFormField)
    • Method Detail

      • getClock

        public java.lang.String getClock()
      • getDefaultDateTimeString

        public java.lang.String getDefaultDateTimeString​(java.util.Map<java.lang.String,​java.lang.Object> context)
        Returns the default-value if specified, otherwise the current date, time or timestamp
        Parameters:
        context - Context Map
        Returns:
        Default value string for date-time
      • getDefaultValue

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

        public java.lang.String getInputMethod()
      • getMask

        public java.lang.String getMask()
      • getStep

        public java.lang.String getStep()
      • getType

        public java.lang.String getType()
      • 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