org.gudy.azureus2.ui.swt.config
Class BooleanParameter
java.lang.Object
org.gudy.azureus2.ui.swt.config.Parameter
org.gudy.azureus2.ui.swt.config.BooleanParameter
- All Implemented Interfaces:
- IParameter
public class BooleanParameter
- extends Parameter
- Author:
- Olivier
Constructor Summary |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name)
|
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
boolean defaultValue)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
boolean defaultValue,
String textKey)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String _name,
boolean _defaultValue,
String textKey,
IAdditionalActionPerformer actionPerformer)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
String textKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected GenericBooleanParameter delegate
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name)
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
String textKey)
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
boolean defaultValue,
String textKey)
- Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String name,
boolean defaultValue)
- Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
String _name,
boolean _defaultValue,
String textKey,
IAdditionalActionPerformer actionPerformer)
- Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller
isInitialised
public boolean isInitialised()
- Overrides:
isInitialised
in class Parameter
setLayoutData
public void setLayoutData(Object layoutData)
setAdditionalActionPerformer
public void setAdditionalActionPerformer(IAdditionalActionPerformer actionPerformer)
getControl
public org.eclipse.swt.widgets.Control getControl()
getName
public String getName()
setName
public void setName(String newName)
isSelected
public Boolean isSelected()
setSelected
public void setSelected(boolean selected)
setValue
public void setValue(Object value)
- Specified by:
setValue
in class Parameter
getValueObject
public Object getValueObject()
- Overrides:
getValueObject
in class Parameter