Package com.biglybt.ui.swt.config
Class StringSwtParameter
java.lang.Object
com.biglybt.ui.swt.config.BaseSwtParameter<StringSwtParameter,String>
com.biglybt.ui.swt.config.BaseSwtStringParameter<StringSwtParameter>
com.biglybt.ui.swt.config.StringSwtParameter
- All Implemented Interfaces:
SwtParameter<String>
SWT widget representing a String Parameter
-
Nested Class Summary
Nested classes/interfaces inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
BaseSwtParameter.IndentPaintListener
-
Field Summary
Fields inherited from class com.biglybt.ui.swt.config.BaseSwtStringParameter
inputField
Fields inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
change_listeners, paramID, pluginParam, validating, valueProcessor
Fields inherited from interface com.biglybt.ui.swt.config.SwtParameter
DEBUG
-
Constructor Summary
ConstructorsConstructorDescriptionStringSwtParameter
(org.eclipse.swt.widgets.Composite parent, StringParameterImpl pluginParam) StringSwtParameter
(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixLabelKey, SwtParameterValueProcessor<StringSwtParameter, String> valueProcessor) Make SWT components representing a String Parameter -
Method Summary
Methods inherited from class com.biglybt.ui.swt.config.BaseSwtStringParameter
getControls, refreshControl, setHintKey, setTextLimit, setValidChars, setWidthInCharacters
Methods inherited from class com.biglybt.ui.swt.config.BaseSwtParameter
addAndFireChangeListener, addChangeListener, addLabelContextMenus, addValidator, createStandardLabel, debug, dispose, doGridData, getIndent, getMainControl, getParamID, getRelatedControl, getValue, 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 Details
-
StringSwtParameter
public StringSwtParameter(org.eclipse.swt.widgets.Composite parent, StringParameterImpl pluginParam) -
StringSwtParameter
public StringSwtParameter(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixLabelKey, SwtParameterValueProcessor<StringSwtParameter, String> valueProcessor) Make SWT components representing a String Parameter When parent composite is of GridLayout, resulting new widgets will take 2 columns- Parameters:
composite
- Where widgets will be placed. Composite is not alteredparamID
- ID of the parameter (usually config id)labelKey
- Messagebundle key for the text shown before text box. null for no label, "" to allocate blank labelsuffixLabelKey
- Messagebundle key for text shown after the text box null for no suffix label, "" to allocate blank suffix labelvalueProcessor
- null if you want to use COConfigurationManager
-