Usage:
SpinItem< String> item = SpinItem.create("example");
T
The type of the value represented by this item.
See also :
Usage:
HSpinSelect< String> spinSelect = HSpinSelect.create();
spinSelect.addItem("Item 1");
spinSelect.addItem("Item 2");
// Add more items as needed...
T
The type of the items in this spin select.
Usage:
VSpinSelect< String> spinSelect = VSpinSelect.create();
spinSelect.addItem("Item 1");
spinSelect.addItem("Item 2");
// Add more items as needed...
T
The type of the items in this spin select.
public void SpinItem(T value)
value
The value represented by this item.
public T getValue()
The value of this item.
public HTMLDivElement element()
Overridden to return the HTMLDivElement associated with this SpinItem .
Returns:
The HTMLDivElement for this item.
public void HSpinSelect()
public void HSpinSelect(Icon<?> backIcon, Icon<?> forwardIcon)
backIcon
the back icon to use
forwardIcon
the forward icon to use
public static HSpinSelect<T> create()
T
the type of the items
a new instance of HSpinSelect
public static HSpinSelect<T> create(Icon<?> backIcon, Icon<?> forwardIcon)
backIcon
the back icon to use
forwardIcon
the forward icon to use
T
the type of the items
a new instance of HSpinSelect
public void VSpinSelect()
public void VSpinSelect(Icon<?> upIcon, Icon<?> downIcon)
upIcon
the up icon to use
downIcon
the down icon to use
public static VSpinSelect<T> create()
T
the type of the items
a new instance of VSpinSelect
public static VSpinSelect<T> create(Icon<?> upIcon, Icon<?> downIcon)
upIcon
the up icon to use
downIcon
the down icon to use
T
the type of the items
a new instance of VSpinSelect