Enum Class MouseEventType
java.lang.Object
java.lang.Enum<MouseEventType>
org.vaadin.addons.componentfactory.leaflet.layer.events.types.MouseEventType
- All Implemented Interfaces:
Serializable,Comparable<MouseEventType>,Constable,LeafletEventType
Enumeration of the mouse related Leaflet event names, such as click, mousedown and contextmenu.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFired when the user clicks (or taps) the layer.Fired when the user right-clicks on the layer, prevents default browser context menu from showing if there are listeners on this event.Fired when the user double-clicks (or double-taps) the layer.Fired when the user pushes the mouse button on the layer.Fired while the mouse moves over the layer.Fired when the mouse leaves the layer.Fired when the mouse enters the layer.Fired when the user releases the mouse button pushed on the layer.Fired before mouse click on the map (sometimes useful when you want something to happen on click before any existing click handlers start running). -
Method Summary
Modifier and TypeMethodDescriptionstatic MouseEventTypeReturns the enum constant of this class with the specified name.static MouseEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.vaadin.addons.componentfactory.leaflet.layer.events.types.LeafletEventType
getLeafletEvent, name
-
Enum Constant Details
-
click
Fired when the user clicks (or taps) the layer. -
dblclick
Fired when the user double-clicks (or double-taps) the layer. -
mousedown
Fired when the user pushes the mouse button on the layer. -
mouseup
Fired when the user releases the mouse button pushed on the layer. -
mouseover
Fired when the mouse enters the layer. -
mouseout
Fired when the mouse leaves the layer. -
mousemove
Fired while the mouse moves over the layer. -
preclick
Fired before mouse click on the map (sometimes useful when you want something to happen on click before any existing click handlers start running).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-