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 java.lang.Object

Author:
Olivier

Field Summary
protected static boolean DEBUG
           
 
Constructor Summary
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.Boolean defaultValue)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.Boolean defaultValue, java.lang.String textKey)
           
GenericBooleanParameter(GenericParameterAdapter _adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String _name, java.lang.Boolean _defaultValue, java.lang.String textKey, IAdditionalActionPerformer actionPerformer)
           
GenericBooleanParameter(GenericParameterAdapter adapter, org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.String textKey)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 java.lang.String getName()
           
 java.lang.Boolean isSelected()
           
 void refresh()
           
 void setAdditionalActionPerformer(IAdditionalActionPerformer actionPerformer)
           
 void setEnabled(boolean enabled)
           
 void setLayoutData(java.lang.Object layoutData)
           
 void setName(java.lang.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,
                               java.lang.String name)

GenericBooleanParameter

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

GenericBooleanParameter

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

GenericBooleanParameter

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

GenericBooleanParameter

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

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()

setEnabled

public void setEnabled(boolean enabled)

setSelected

public void setSelected(boolean selected)

setSelected

protected void setSelected(boolean selected,
                           boolean force)

refresh

public void refresh()