org.gudy.azureus2.ui.swt.config.generic
Class GenericBooleanParameter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.generic.GenericBooleanParameter

public class GenericBooleanParameter
extends Object

Author:
Olivier

Field Summary
protected static boolean DEBUG
           
 
Constructor Summary
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name, Boolean defaultValue)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name, Boolean defaultValue, String textKey)
           
GenericBooleanParameter(GenericParameterAdapter _adapter, org.eclipse.swt.widgets.Composite composite, String _name, Boolean _defaultValue, String textKey, IAdditionalActionPerformer actionPerformer)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, String name, String textKey)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 String getName()
           
 Boolean isSelected()
           
 void refresh()
           
 void setAdditionalActionPerformer(IAdditionalActionPerformer actionPerformer)
           
 void setLayoutData(Object layoutData)
           
 void setName(String newName)
           
 void setSelected(boolean selected)
           
protected  void setSelected(boolean selected, boolean force)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

GenericBooleanParameter

public GenericBooleanParameter(GenericParameterAdapter adapter,
                               org.eclipse.swt.widgets.Composite composite,
                               String name)

GenericBooleanParameter

public GenericBooleanParameter(GenericParameterAdapter adapter,
                               org.eclipse.swt.widgets.Composite composite,
                               String name,
                               String textKey)

GenericBooleanParameter

public GenericBooleanParameter(GenericParameterAdapter adapter,
                               org.eclipse.swt.widgets.Composite composite,
                               String name,
                               Boolean defaultValue,
                               String textKey)

GenericBooleanParameter

public GenericBooleanParameter(GenericParameterAdapter adapter,
                               org.eclipse.swt.widgets.Composite composite,
                               String name,
                               Boolean defaultValue)

GenericBooleanParameter

public GenericBooleanParameter(GenericParameterAdapter _adapter,
                               org.eclipse.swt.widgets.Composite composite,
                               String _name,
                               Boolean _defaultValue,
                               String textKey,
                               IAdditionalActionPerformer actionPerformer)
Method Detail

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)

setSelected

protected void setSelected(boolean selected,
                           boolean force)

refresh

public void refresh()