Package com.biglybt.ui.swt.config
Class StringSwtParameter
- java.lang.Object
-
- com.biglybt.ui.swt.config.BaseSwtParameter<PARAMTYPE,java.lang.String>
-
- com.biglybt.ui.swt.config.BaseSwtStringParameter<StringSwtParameter>
-
- com.biglybt.ui.swt.config.StringSwtParameter
-
- All Implemented Interfaces:
SwtParameter<java.lang.String>
public class StringSwtParameter extends BaseSwtStringParameter<StringSwtParameter>
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, KEY_LABEL_ADDCOPYTOCLIPMENU, paramID, pluginParam, validating, valueProcessor
-
Fields inherited from interface com.biglybt.ui.swt.config.SwtParameter
DEBUG
-
-
Constructor Summary
Constructors Constructor Description StringSwtParameter(org.eclipse.swt.widgets.Composite parent, StringParameterImpl pluginParam)
StringSwtParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String paramID, java.lang.String labelKey, java.lang.String suffixLabelKey, SwtParameterValueProcessor<StringSwtParameter,java.lang.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 Detail
-
StringSwtParameter
public StringSwtParameter(org.eclipse.swt.widgets.Composite parent, StringParameterImpl pluginParam)
-
StringSwtParameter
public StringSwtParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String paramID, java.lang.String labelKey, java.lang.String suffixLabelKey, SwtParameterValueProcessor<StringSwtParameter,java.lang.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
-
-