widget: add setItemQuantity

This commit is contained in:
raiyni
2018-09-04 12:57:16 -05:00
parent 2a87137fea
commit 7b1b53d4c0
3 changed files with 12 additions and 1 deletions

View File

@@ -357,6 +357,13 @@ public interface Widget
*/
int getItemQuantity();
/**
* Sets the item quantity displayed by the widget.
*
* @param quantity the quantity of the item
*/
void setItemQuantity(int quantity);
/**
* Checks whether or not the drawn area of this widget contains
* a point on the canvas.