Class InfoSwtParameter
java.lang.Object
com.biglybt.ui.swt.config.BaseSwtParameter<InfoSwtParameter, String>
com.biglybt.ui.swt.config.InfoSwtParameter
- All Implemented Interfaces:
SwtParameter<String>
Displays a message stored in
COConfigurationManager,
or just a label,
or a label and a value-
Nested Class Summary
Nested classes/interfaces inherited from class BaseSwtParameter
BaseSwtParameter.IndentPaintListener -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.eclipse.swt.widgets.Controlprivate Stringprivate StringFields inherited from class BaseSwtParameter
change_listeners, paramID, pluginParam, validating, valueProcessorFields inherited from interface SwtParameter
DEBUG -
Constructor Summary
ConstructorsConstructorDescriptionInfoSwtParameter(org.eclipse.swt.widgets.Composite parent, InfoParameterImpl infoParameter) InfoSwtParameter(org.eclipse.swt.widgets.Composite parent, LabelParameterImpl labelParameter) InfoSwtParameter(org.eclipse.swt.widgets.Composite parent, String configID, String labelKey, String infoVal, boolean isSelectable) If configKey != null:
[label][config value]
If config == null:
[label][infoVal] -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoGridData(org.eclipse.swt.widgets.Composite composite) getValue()voidprivate voidsetInfoVal(String infoVal) Methods inherited from class BaseSwtParameter
addAndFireChangeListener, addChangeListener, addLabelContextMenus, addValidator, createStandardLabel, debug, dispose, 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
-
Field Details
-
control
private final org.eclipse.swt.widgets.Control control -
labelKey
-
infoVal
-
-
Constructor Details
-
InfoSwtParameter
public InfoSwtParameter(org.eclipse.swt.widgets.Composite parent, LabelParameterImpl labelParameter) -
InfoSwtParameter
-
InfoSwtParameter
-
-
Method Details
-
doGridData
protected boolean doGridData(org.eclipse.swt.widgets.Composite composite) - Overrides:
doGridDatain classBaseSwtParameter<InfoSwtParameter, String>
-
refreshControl
public void refreshControl()- Overrides:
refreshControlin classBaseSwtParameter<InfoSwtParameter, String>
-
getValue
- Specified by:
getValuein interfaceSwtParameter<String>- Overrides:
getValuein classBaseSwtParameter<InfoSwtParameter, String>
-
setInfoVal
-