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,
java.lang.String name)
|
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
boolean defaultValue)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
boolean defaultValue,
java.lang.String textKey)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String _name,
boolean _defaultValue,
java.lang.String textKey,
IAdditionalActionPerformer actionPerformer)
Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller |
BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
java.lang.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,
java.lang.String name)
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
java.lang.String textKey)
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.String name,
boolean defaultValue,
java.lang.String textKey)
- Deprecated. defaultValue should be set via ConfigurationDefaults, not passed by the caller
BooleanParameter
public BooleanParameter(org.eclipse.swt.widgets.Composite composite,
java.lang.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,
java.lang.String _name,
boolean _defaultValue,
java.lang.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(java.lang.Object layoutData)
setAdditionalActionPerformer
public void setAdditionalActionPerformer(IAdditionalActionPerformer actionPerformer)
getControl
public org.eclipse.swt.widgets.Control getControl()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String newName)
isSelected
public java.lang.Boolean isSelected()
setSelected
public void setSelected(boolean selected)
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in class Parameter
getValueObject
public java.lang.Object getValueObject()
- Overrides:
getValueObject
in class Parameter