org.gudy.azureus2.ui.swt.config
Class BooleanParameter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.Parameter
      extended by org.gudy.azureus2.ui.swt.config.BooleanParameter
All Implemented Interfaces:
IParameter

public class BooleanParameter
extends Parameter

Author:
Olivier

Field Summary
protected  GenericBooleanParameter delegate
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
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)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 String getName()
           
 Object getValueObject()
           
 boolean isInitialised()
           
 Boolean isSelected()
           
 void setAdditionalActionPerformer(IAdditionalActionPerformer actionPerformer)
           
 void setLayoutData(Object layoutData)
           
 void setName(String newName)
           
 void setSelected(boolean selected)
           
 void setValue(Object value)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.Parameter
addChangeListener, getControls, isDisposed, removeChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected GenericBooleanParameter delegate
Constructor Detail

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

Method Detail

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