Package com.biglybt.ui.swt.config
Class PasswordSwtParameter
- java.lang.Object
-
- com.biglybt.ui.swt.config.BaseSwtParameter<PasswordSwtParameter,byte[]>
-
- com.biglybt.ui.swt.config.PasswordSwtParameter
-
- All Implemented Interfaces:
SwtParameter<byte[]>
public class PasswordSwtParameter extends BaseSwtParameter<PasswordSwtParameter,byte[]>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
BaseSwtParameter.IndentPaintListener
-
-
Field Summary
Fields Modifier and Type Field Description private int
encoding
(package private) org.eclipse.swt.widgets.Text
inputField
-
Fields inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
change_listeners, KEY_LABEL_ADDCOPYTOCLIPMENU, paramID, pluginParam, validating, valueProcessor
-
Fields inherited from interface com.biglybt.ui.swt.config.SwtParameter
DEBUG
-
-
Constructor Summary
Constructors Constructor Description PasswordSwtParameter(org.eclipse.swt.widgets.Composite parent, PasswordParameterImpl param)
PasswordSwtParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String configID, java.lang.String labelKey)
Creates aPasswordSwtParameter
with SHA1 encodingPasswordSwtParameter(org.eclipse.swt.widgets.Composite parent, java.lang.String configID, java.lang.String labelKey, int encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private byte[]
getByteArrayValue()
byte[]
getValue()
void
refreshControl()
private void
setUiValue(java.lang.String value)
void
setWidthInCharacters(int i)
-
Methods inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
addAndFireChangeListener, addChangeListener, addLabelContextMenus, addValidator, createStandardLabel, debug, dispose, doGridData, getControls, getIndent, getMainControl, getParamID, getRelatedControl, getValueProcessor, informChanged, isDefaultValue, isDisposed, isEnabled, isIndentFancy, refreshSuffixControl, removeChangeListener, removeValidator, resetToDefault, setConfigValueProcessor, setEnabled, setIndent, setLabelKey, setLabelText, setLayoutData, setMainControl, setPluginParameter, setRelatedControl, setValue, setValueProcessor, setVisible, triggerChangeListeners, triggerSubClassChangeListeners, updateControl, validate
-
-
-
-
Constructor Detail
-
PasswordSwtParameter
public PasswordSwtParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String configID, java.lang.String labelKey)
Creates aPasswordSwtParameter
with SHA1 encoding
-
PasswordSwtParameter
public PasswordSwtParameter(org.eclipse.swt.widgets.Composite parent, java.lang.String configID, java.lang.String labelKey, int encoding)
- Parameters:
encoding
- SeePasswordParameter
-
PasswordSwtParameter
public PasswordSwtParameter(org.eclipse.swt.widgets.Composite parent, PasswordParameterImpl param)
-
-
Method Detail
-
getByteArrayValue
private byte[] getByteArrayValue()
-
setUiValue
private void setUiValue(java.lang.String value)
-
refreshControl
public void refreshControl()
- Overrides:
refreshControl
in classBaseSwtParameter<PasswordSwtParameter,byte[]>
-
getValue
public byte[] getValue()
- Specified by:
getValue
in interfaceSwtParameter<byte[]>
- Overrides:
getValue
in classBaseSwtParameter<PasswordSwtParameter,byte[]>
-
setWidthInCharacters
public void setWidthInCharacters(int i)
-
-