Class PasswordParameterImpl

    • Field Detail

      • encoding_type

        protected int encoding_type
      • widthInCharacters

        private int widthInCharacters
    • Constructor Detail

      • PasswordParameterImpl

        public PasswordParameterImpl​(java.lang.String key,
                                     java.lang.String labelKey,
                                     int _encoding_type)
    • Method Detail

      • setValue

        public void setValue​(java.lang.String plain_password)
        Specified by:
        setValue in interface PasswordParameter
      • getEncodingType

        public int getEncodingType()
      • encode

        protected byte[] encode​(java.lang.String str)
      • encode

        public byte[] encode​(byte[] bytes)
      • getWidthInCharacters

        public int getWidthInCharacters()
        Specified by:
        getWidthInCharacters in interface PasswordParameter
        Returns:
        width hint in characters for displaying the text field
      • getValueObject

        public java.lang.Object getValueObject()
        Description copied from interface: Parameter
        Retrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.
        Specified by:
        getValueObject in interface Parameter
        Overrides:
        getValueObject in class ParameterImpl