com.github.fluorumlabs.disconnect.highcharts.PlotVariablepiePointEventsOptions 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 javax.annotation.Nullable;
import js.lang.Any;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;
/**
* (Highcharts) Events for each single point.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events
*
*/
public interface PlotVariablepiePointEventsOptions extends Any {
/**
* (Highcharts) Fires when a point is clicked. One parameter, event
, is
* passed to the function, containing common event information.
*
* If the series.allowPointSelect
option is true, the default action for
* the point's click event is to toggle the point's select state. Returning
* false
cancels this action.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.click
*
* @implspec click?: SeriesPointClickCallbackFunction;
*
*/
@JSProperty("click")
@Nullable
SeriesPointClickCallbackFunction getClick();
/**
* (Highcharts) Fires when a point is clicked. One parameter, event
, is
* passed to the function, containing common event information.
*
* If the series.allowPointSelect
option is true, the default action for
* the point's click event is to toggle the point's select state. Returning
* false
cancels this action.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.click
*
* @implspec click?: SeriesPointClickCallbackFunction;
*
*/
@JSProperty("click")
void setClick(SeriesPointClickCallbackFunction value);
/**
* (Highcharts) Callback that fires while dragging a point. The mouse event
* is passed in as parameter. The original data can be accessed from
* e.origin
, and the new point values can be accessed from e.newPoints
.
* If there is only a single point being updated, it can be accessed from
* e.newPoint
for simplicity, and its ID can be accessed from
* e.newPointId
. The this
context is the point being dragged. To stop
* the default drag action, return false. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.drag
*
* @implspec drag?: SeriesPointDragCallbackFunction;
*
*/
@JSProperty("drag")
@Nullable
SeriesPointDragCallbackFunction getDrag();
/**
* (Highcharts) Callback that fires while dragging a point. The mouse event
* is passed in as parameter. The original data can be accessed from
* e.origin
, and the new point values can be accessed from e.newPoints
.
* If there is only a single point being updated, it can be accessed from
* e.newPoint
for simplicity, and its ID can be accessed from
* e.newPointId
. The this
context is the point being dragged. To stop
* the default drag action, return false. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.drag
*
* @implspec drag?: SeriesPointDragCallbackFunction;
*
*/
@JSProperty("drag")
void setDrag(SeriesPointDragCallbackFunction value);
/**
* (Highcharts) Callback that fires when starting to drag a point. The mouse
* event object is passed in as an argument. If a drag handle is used,
* e.updateProp
is set to the data property being dragged. The this
* context is the point. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.dragStart
*
* @implspec dragStart?: SeriesPointDragStartCallbackFunction;
*
*/
@JSProperty("dragStart")
@Nullable
SeriesPointDragStartCallbackFunction getDragStart();
/**
* (Highcharts) Callback that fires when starting to drag a point. The mouse
* event object is passed in as an argument. If a drag handle is used,
* e.updateProp
is set to the data property being dragged. The this
* context is the point. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.dragStart
*
* @implspec dragStart?: SeriesPointDragStartCallbackFunction;
*
*/
@JSProperty("dragStart")
void setDragStart(SeriesPointDragStartCallbackFunction value);
/**
* (Highcharts) Callback that fires when the point is dropped. The
* parameters passed are the same as for drag. To stop the default drop
* action, return false. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.drop
*
* @implspec drop?: SeriesPointDropCallbackFunction;
*
*/
@JSProperty("drop")
@Nullable
SeriesPointDropCallbackFunction getDrop();
/**
* (Highcharts) Callback that fires when the point is dropped. The
* parameters passed are the same as for drag. To stop the default drop
* action, return false. See drag and drop options.
*
* Requires the draggable-points
module.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.drop
*
* @implspec drop?: SeriesPointDropCallbackFunction;
*
*/
@JSProperty("drop")
void setDrop(SeriesPointDropCallbackFunction value);
/**
* (Highcharts) Fires when the legend item belonging to the pie point
* (slice) is clicked. The this
keyword refers to the point itself. One
* parameter, event
, is passed to the function, containing common event
* information. The default action is to toggle the visibility of the point.
* This can be prevented by calling event.preventDefault()
.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.legendItemClick
*
* @implspec legendItemClick?: () => void;
*
*/
@JSProperty("legendItemClick")
@Nullable
LegendItemClick getLegendItemClick();
/**
* (Highcharts) Fires when the legend item belonging to the pie point
* (slice) is clicked. The this
keyword refers to the point itself. One
* parameter, event
, is passed to the function, containing common event
* information. The default action is to toggle the visibility of the point.
* This can be prevented by calling event.preventDefault()
.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.legendItemClick
*
* @implspec legendItemClick?: () => void;
*
*/
@JSProperty("legendItemClick")
void setLegendItemClick(LegendItemClick value);
/**
* (Highcharts) Fires when the mouse leaves the area close to the point. One
* parameter, event
, is passed to the function, containing common event
* information.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.mouseOut
*
* @implspec mouseOut?: () => void;
*
*/
@JSProperty("mouseOut")
@Nullable
MouseOut getMouseOut();
/**
* (Highcharts) Fires when the mouse leaves the area close to the point. One
* parameter, event
, is passed to the function, containing common event
* information.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.mouseOut
*
* @implspec mouseOut?: () => void;
*
*/
@JSProperty("mouseOut")
void setMouseOut(MouseOut value);
/**
* (Highcharts) Fires when the mouse enters the area close to the point. One
* parameter, event
, is passed to the function, containing common event
* information.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.mouseOver
*
* @implspec mouseOver?: () => void;
*
*/
@JSProperty("mouseOver")
@Nullable
MouseOver getMouseOver();
/**
* (Highcharts) Fires when the mouse enters the area close to the point. One
* parameter, event
, is passed to the function, containing common event
* information.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.mouseOver
*
* @implspec mouseOver?: () => void;
*
*/
@JSProperty("mouseOver")
void setMouseOver(MouseOver value);
/**
* (Highcharts) Fires when the point is removed using the .remove()
* method. One parameter, event
, is passed to the function. Returning
* false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.remove
*
* @implspec remove?: () => void;
*
*/
@JSProperty("remove")
@Nullable
Remove getRemove();
/**
* (Highcharts) Fires when the point is removed using the .remove()
* method. One parameter, event
, is passed to the function. Returning
* false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.remove
*
* @implspec remove?: () => void;
*
*/
@JSProperty("remove")
void setRemove(Remove value);
/**
* (Highcharts) Fires when the point is selected either programmatically or
* following a click on the point. One parameter, event
, is passed to the
* function. Returning false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.select
*
* @implspec select?: () => void;
*
*/
@JSProperty("select")
@Nullable
Select getSelect();
/**
* (Highcharts) Fires when the point is selected either programmatically or
* following a click on the point. One parameter, event
, is passed to the
* function. Returning false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.select
*
* @implspec select?: () => void;
*
*/
@JSProperty("select")
void setSelect(Select value);
/**
* (Highcharts) Fires when the point is unselected either programmatically
* or following a click on the point. One parameter, event
, is passed to
* the function. Returning false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.unselect
*
* @implspec unselect?: () => void;
*
*/
@JSProperty("unselect")
@Nullable
Unselect getUnselect();
/**
* (Highcharts) Fires when the point is unselected either programmatically
* or following a click on the point. One parameter, event
, is passed to
* the function. Returning false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.unselect
*
* @implspec unselect?: () => void;
*
*/
@JSProperty("unselect")
void setUnselect(Unselect value);
/**
* (Highcharts) Fires when the point is updated programmatically through the
* .update()
method. One parameter, event
, is passed to the function.
* The new point options can be accessed through event.options
. Returning
* false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.update
*
* @implspec update?: () => void;
*
*/
@JSProperty("update")
@Nullable
Update getUpdate();
/**
* (Highcharts) Fires when the point is updated programmatically through the
* .update()
method. One parameter, event
, is passed to the function.
* The new point options can be accessed through event.options
. Returning
* false
cancels the operation.
*
* @see https://api.highcharts.com/highcharts/plotOptions.variablepie.point.events.update
*
* @implspec update?: () => void;
*
*/
@JSProperty("update")
void setUpdate(Update value);
/**
*/
@JSFunctor
@FunctionalInterface
interface LegendItemClick extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface MouseOut extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface MouseOver extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface Remove extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface Select extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface Unselect extends Any {
void apply();
}
/**
*/
@JSFunctor
@FunctionalInterface
interface Update extends Any {
void apply();
}
}