org.gudy.azureus2.ui.swt.config
Class IntListParameter
java.lang.Object
org.gudy.azureus2.ui.swt.config.Parameter
org.gudy.azureus2.ui.swt.config.IntListParameter
- All Implemented Interfaces:
- IParameter
public class IntListParameter
- extends Parameter
- Author:
- Olivier
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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