All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.highcharts.SeriesPointDragEventObject Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
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");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy