IntParameterpublic class IntParameter extends Parameter
Fields Summary |
---|
protected org.gudy.azureus2.ui.swt.config.generic.GenericIntParameter | delegate |
Constructors Summary |
---|
public IntParameter(org.eclipse.swt.widgets.Composite composite, String name)
super(name);
delegate = new GenericIntParameter(config_adapter, composite, name);
| public IntParameter(org.eclipse.swt.widgets.Composite composite, String name, int defaultValue)
super(name);
delegate = new GenericIntParameter(config_adapter, composite, name,
defaultValue);
| public IntParameter(org.eclipse.swt.widgets.Composite composite, String name, int minValue, int maxValue)
super(name);
delegate = new GenericIntParameter(config_adapter, composite, name,
minValue, maxValue);
|
Methods Summary |
---|
public org.eclipse.swt.widgets.Control | getControl()
return( delegate.getControl());
| public int | getValue()
return( delegate.getValue());
| public java.lang.Object | getValueObject()
return new Integer(getValue());
| public boolean | isGeneratingIntermediateEvents()
return delegate.isGeneratingIntermediateEvents();
| public void | resetToDefault()
delegate.resetToDefault();
| public void | setGenerateIntermediateEvents(boolean generateIntermediateEvents)
delegate.setGenerateIntermediateEvents(generateIntermediateEvents);
| public void | setLayoutData(java.lang.Object layoutData)
delegate.setLayoutData( layoutData );
| public void | setMaximumValue(int value)
delegate.setMaximumValue( value );
| public void | setMinimumValue(int value)
delegate.setMinimumValue( value );
| public void | setValue(java.lang.Object value)
if (value instanceof Number) {
setValue(((Number)value).intValue());
}
| public void | setValue(int value)
delegate.setValue( value );
|
|