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

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

public class IntListParameter
extends Parameter

Author:
Olivier

Field Summary
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
Constructor Summary
IntListParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, int defaultValue, java.lang.String[] labels, int[] values)
           
IntListParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.String[] labels, int[] values)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 java.lang.Object getValueObject()
           
protected  void setIndex(int index)
           
 void setLayoutData(java.lang.Object layoutData)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.Parameter
addChangeListener, getControls, isDisposed, isInitialised, removeChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntListParameter

public IntListParameter(org.eclipse.swt.widgets.Composite composite,
                        java.lang.String name,
                        java.lang.String[] labels,
                        int[] values)

IntListParameter

public IntListParameter(org.eclipse.swt.widgets.Composite composite,
                        java.lang.String name,
                        int defaultValue,
                        java.lang.String[] labels,
                        int[] values)
Method Detail

setIndex

protected void setIndex(int index)
Parameters:
index -

setLayoutData

public void setLayoutData(java.lang.Object layoutData)

getControl

public org.eclipse.swt.widgets.Control getControl()

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