[]
        
(Showing Draft Content)

ISpinner

Interface ISpinner

All Superinterfaces:
ICellLinkControl, ICellLinkControlT<Integer>, IControl, IControlT<ISpinner>, IRangeBase

public interface ISpinner extends IControlT<ISpinner>, IRangeBase
Represents a spinner form control.

A spinner lets users increase or decrease an integer value within a configured range. Use IRangeBase members to define the minimum value, maximum value, and step size, and use ICellLinkControl.setLinkedCell(IRange) to bind the current value to a worksheet cell.


 ISpinner spinner = worksheet.getControls().addSpinner(20, 20, 18, 40);
 spinner.setMin(0);
 spinner.setMax(10);
 spinner.setSmallChange(1);
 spinner.setLinkedCell(worksheet.getRange("A1"));
 spinner.setValue(5);