com.github.fluorumlabs.disconnect.highcharts.SeriesPointDragEventObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-highcharts Show documentation
Show all versions of disconnect-highcharts Show documentation
Highcharts API bindings for Disconnect Zero
package com.github.fluorumlabs.disconnect.highcharts;
import java.lang.FunctionalInterface;
import js.extras.JsEnum;
import js.lang.Any;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;
/**
* Contains common information for a drag event on series points.
*
*/
public interface SeriesPointDragEventObject extends Any {
/**
* New points during drag.
*
* @implspec newPoints: Dictionary;
*
*/
@JSProperty("newPoints")
Dictionary getNewPoints();
/**
* New points during drag.
*
* @implspec newPoints: Dictionary;
*
*/
@JSProperty("newPoints")
void setNewPoints(Dictionary value);
/**
* Original data.
*
* @implspec origin: object;
*
*/
@JSProperty("origin")
Any getOrigin();
/**
* Original data.
*
* @implspec origin: object;
*
*/
@JSProperty("origin")
void setOrigin(Any value);
/**
* Prevent default drag action.
*
* @implspec preventDefault: () => void;
*
*/
@JSProperty("preventDefault")
PreventDefault getPreventDefault();
/**
* Prevent default drag action.
*
* @implspec preventDefault: () => void;
*
*/
@JSProperty("preventDefault")
void setPreventDefault(PreventDefault value);
/**
* Target point that caused the event.
*
* @implspec target: Point;
*
*/
@JSProperty("target")
Point getTarget();
/**
* Target point that caused the event.
*
* @implspec target: Point;
*
*/
@JSProperty("target")
void setTarget(Point value);
/**
* Event type.
*
* @implspec type: "drag";
*
*/
@JSProperty("type")
Type getType();
/**
* Event type.
*
* @implspec type: "drag";
*
*/
@JSProperty("type")
void setType(Type value);
/**
*/
@JSFunctor
@FunctionalInterface
interface PreventDefault extends Any {
void apply();
}
/**
*/
abstract class Type extends JsEnum {
public static final Type DRAG = JsEnum.of("drag");
}
}