Class InputField

    • Constructor Detail

      • InputField

        protected InputField​(String tag)
    • Method Detail

      • setLabel

        public void setLabel​(String label)
      • setPlaceholder

        public void setPlaceholder​(String placeholder)
      • setErrorMessage

        public void setErrorMessage​(String message)
      • setMinlength

        public void setMinlength​(int minlength)
      • setMaxlength

        public void setMaxlength​(int maxlength)
      • addSuffix

        public void addSuffix​(net.moewes.cloudui.UiComponent component)
        adds a suffix component to the field
        Parameters:
        component - component
      • addPrefix

        public void addPrefix​(net.moewes.cloudui.UiComponent component)
        adds a prefix component to the field
        Parameters:
        component - component
      • setPattern

        public void setPattern​(String pattern)
        sets a pattern of valid input
        Parameters:
        pattern -
      • render

        public net.moewes.cloudui.UiElement render()
        Overrides:
        render in class net.moewes.cloudui.UiComponent