Class FormatInputElement

    • Constructor Detail

      • FormatInputElement

        public FormatInputElement()
    • Method Detail

      • getFormat

        public java.lang.String getFormat()
        Returns the format of the input component.

        Default: null (used what is defined in the inherited implementation).

      • getRealFormat

        protected java.lang.String getRealFormat()
        Returns the real format.

        Default: return getFormat(). It is designed to allow the deriving class to provide another layer of abstraction. For example, Datebox.setFormat(java.lang.String) accepts short to denote the short format.

        Since:
        5.0.7
      • getPropertyAccess

        public PropertyAccess getPropertyAccess​(java.lang.String prop)
        Description copied from interface: ComponentCtrl
        Returns the corresponding property access object from the given property name, if any.
        Specified by:
        getPropertyAccess in interface ComponentCtrl
        Overrides:
        getPropertyAccess in class InputElement
        Parameters:
        prop - the name of the property
        Returns:
        null it means not to support for the property name.