Class AbstractSeriesItemEvent
java.lang.Object
com.vaadin.componentfactory.maps.events.internal.AbstractSeriesEvent
com.vaadin.componentfactory.maps.events.internal.AbstractSeriesItemEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataAddedEvent,DataUpdatedEvent
Base class for series item events. Contains the information about series and
exactly one of item or value.
- Since:
- 2.0
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSeriesItemEvent(Series series, MapDataSeriesItem item) Constructs the event with a series item (without the value).AbstractSeriesItemEvent(Series series, Number value) Constructs the event with a value (without the series item). -
Method Summary
Methods inherited from class com.vaadin.componentfactory.maps.events.internal.AbstractSeriesEvent
getSeries
-
Constructor Details
-
AbstractSeriesItemEvent
Constructs the event with a value (without the series item).- Parameters:
series- Series.value- Value.
-
AbstractSeriesItemEvent
Constructs the event with a series item (without the value).- Parameters:
series- Series.item- Series item..
-
-
Method Details
-
getItem
The item added. May be null if value != null.- Returns:
- The item added.
-
getValue
The value added. May be null if item != null.- Returns:
- The value added.
-