Class PasswordParameterImpl
java.lang.Object
com.biglybt.pifimpl.local.ui.config.ParameterImpl
com.biglybt.pifimpl.local.ui.config.PasswordParameterImpl
- All Implemented Interfaces:
ParameterListener, ConfigParameter, EnablerParameter, Parameter, PasswordParameter
-
Field Summary
FieldsFields inherited from class ParameterImpl
configKeyFields inherited from interface Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATEFields inherited from interface PasswordParameter
ET_MD5, ET_PLAIN, ET_SHA1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]encode(byte[] bytes) protected byte[]intbyte[]getValue()Retrieve the parameter's value as an Object.intvoidvoidsetWidthInCharacters(int widthInCharacters) Set a width hint for displaying the text fieldMethods inherited from class ParameterImpl
addAndFireListener, addConfigParameterListener, addDisabledOnSelection, addDisabledOnSelection, addEnabledOnSelection, addEnabledOnSelection, addImplListener, addListener, addValidator, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getIndent, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, getReferenceID, hasBeenSet, isEnabled, isForUIType, isIndentFancy, isVisible, parameterChanged, refreshControl, removeConfigParameterListener, removeImplListener, removeListener, resetToDefault, search, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setGroup, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setReferenceID, setVisible, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigParameter
addConfigParameterListener, removeConfigParameterListenerMethods inherited from interface Parameter
addAndFireListener, addListener, addValidator, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isForUIType, isVisible, removeListener, resetToDefault, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
-
Field Details
-
encoding_type
protected int encoding_type -
widthInCharacters
private int widthInCharacters
-
-
Constructor Details
-
PasswordParameterImpl
-
-
Method Details
-
setValue
- Specified by:
setValuein interfacePasswordParameter
-
getEncodingType
public int getEncodingType() -
getValue
public byte[] getValue()- Specified by:
getValuein interfacePasswordParameter
-
encode
-
encode
public byte[] encode(byte[] bytes) -
setWidthInCharacters
public void setWidthInCharacters(int widthInCharacters) Description copied from interface:PasswordParameterSet a width hint for displaying the text field- Specified by:
setWidthInCharactersin interfacePasswordParameter
-
getWidthInCharacters
public int getWidthInCharacters()- Specified by:
getWidthInCharactersin interfacePasswordParameter- Returns:
- width hint in characters for displaying the text field
-
getValueObject
Description copied from interface:ParameterRetrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.- Specified by:
getValueObjectin interfaceParameter- Overrides:
getValueObjectin classParameterImpl
-