TC - The type of the widget controllerTI - The type of the item added or appendedpublic abstract class AbstractItemAppenderEventDispatcher<TC extends WidgetController,TI> extends AbstractEventDispatcher<TC> implements ItemAppender<TI>
ItemAppender and
EventDispatcher interfaces. If the item is added
successfully then an event is raised on the widget controller.| Constructor and Description |
|---|
AbstractItemAppenderEventDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TI item,
long qty)
Add or append an item
|
protected abstract boolean |
addItem(TI item,
long qty)
Implement this method to actually add the item.
|
dispatchEvent, getWidgetController, setWidgetControllerpublic void add(TI item, long qty)
ItemAppenderadd in interface ItemAppender<TI>item - the itemqty - the quantity of item to addprotected abstract boolean addItem(TI item, long qty)
item - the itemqty - the quantityCopyright © 2017 SAP SE. All Rights Reserved.