Class XAxesExtremesSetEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Map>
com.vaadin.componentfactory.maps.events.XAxesExtremesSetEvent
- All Implemented Interfaces:
HasAxis<XAxis>,Serializable
@DomEvent("xaxes-extremes-set")
public class XAxesExtremesSetEvent
extends com.vaadin.flow.component.ComponentEvent<Map>
implements HasAxis<XAxis>
The XAxesExtremesSetEvent class stores data for set extremes events
on the x axes of the chart.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionXAxesExtremesSetEvent(Map source, boolean fromClient, double min, double max, int axisIndex) Constructor for XAxesExtremesSetEvent. -
Method Summary
Modifier and TypeMethodDescriptiongetAxis()getAxis.intgetAxisIndex.doubleGetter for the fieldmaximum.doubleGetter for the fieldminimum.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
XAxesExtremesSetEvent
public XAxesExtremesSetEvent(Map source, boolean fromClient, @EventData("event.detail.originalEvent.min") double min, @EventData("event.detail.originalEvent.max") double max, @EventData("event.detail.axis.userOptions.axisIndex") int axisIndex) Constructor for XAxesExtremesSetEvent.
- Parameters:
source- aMapobject.fromClient- a boolean.min- a double.max- a double.axisIndex- a int.
-
-
Method Details
-
getMinimum
public double getMinimum()Getter for the field
minimum.- Returns:
- a double.
-
getMaximum
public double getMaximum()Getter for the field
maximum.- Returns:
- a double.
-
getAxisIndex
public int getAxisIndex()getAxisIndex.
- Specified by:
getAxisIndexin interfaceHasAxis<XAxis>- Returns:
- a int.
-
getAxis
getAxis.
-