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

com.github.fluorumlabs.disconnect.highcharts.MapNavigationButtonsZoomOutOptions 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 java.lang.String;
import javax.annotation.Nullable;
import js.extras.JsEnum;
import js.lang.Any;
import org.teavm.jso.JSFunctor;
import org.teavm.jso.JSProperty;

/**
 * (Highmaps) Options for the zoom out button. Properties for the zoom in and
 * zoom out buttons are inherited from mapNavigation.buttonOptions, while
 * individual options can be overridden. By default, the onclick, text and
 * y options are individual.
 *
 * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut
 *
 */
public interface MapNavigationButtonsZoomOutOptions extends Any {
  /**
   * (Highmaps) The alignment of the navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.align
   *
   * @implspec align?: ("center"|"left"|"right");
   *
   */
  @JSProperty("align")
  @Nullable
  Align getAlign();

  /**
   * (Highmaps) The alignment of the navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.align
   *
   * @implspec align?: ("center"|"left"|"right");
   *
   */
  @JSProperty("align")
  void setAlign(Align value);

  /**
   * (Highmaps) What box to align the buttons to. Possible values are
   * plotBox and spacingBox.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.alignTo
   *
   * @implspec alignTo?: ("plotBox"|"spacingBox");
   *
   */
  @JSProperty("alignTo")
  @Nullable
  AlignTo getAlignTo();

  /**
   * (Highmaps) What box to align the buttons to. Possible values are
   * plotBox and spacingBox.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.alignTo
   *
   * @implspec alignTo?: ("plotBox"|"spacingBox");
   *
   */
  @JSProperty("alignTo")
  void setAlignTo(AlignTo value);

  /**
   * (Highmaps) The pixel height of the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.height
   *
   * @implspec height?: number;
   *
   */
  @JSProperty("height")
  double getHeight();

  /**
   * (Highmaps) The pixel height of the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.height
   *
   * @implspec height?: number;
   *
   */
  @JSProperty("height")
  void setHeight(double value);

  /**
   * (Highmaps) Click handler for the button.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.onclick
   *
   * @implspec onclick?: () => void;
   *
   */
  @JSProperty("onclick")
  @Nullable
  Onclick getOnclick();

  /**
   * (Highmaps) Click handler for the button.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.onclick
   *
   * @implspec onclick?: () => void;
   *
   */
  @JSProperty("onclick")
  void setOnclick(Onclick value);

  /**
   * (Highmaps) Padding for the navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.padding
   *
   * @implspec padding?: number;
   *
   */
  @JSProperty("padding")
  double getPadding();

  /**
   * (Highmaps) Padding for the navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.padding
   *
   * @implspec padding?: number;
   *
   */
  @JSProperty("padding")
  void setPadding(double value);

  /**
   * (Highmaps) Text styles for the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  @Nullable
  CSSObject getStyle();

  /**
   * (Highmaps) Text styles for the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  void setStyle(CSSObject value);

  /**
   * (Highmaps) The text for the button. The tooltip (title) is a language
   * option given by lang.zoomOut.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.text
   *
   * @implspec text?: string;
   *
   */
  @JSProperty("text")
  @Nullable
  String getText();

  /**
   * (Highmaps) The text for the button. The tooltip (title) is a language
   * option given by lang.zoomOut.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.text
   *
   * @implspec text?: string;
   *
   */
  @JSProperty("text")
  void setText(String value);

  /**
   * (Highmaps) A configuration object for the button theme. The object
   * accepts SVG properties like stroke-width, stroke and fill.
   * Tri-state button styles are supported by the states.hover and
   * states.select objects.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.theme
   *
   * @implspec theme?: SVGAttributes;
   *
   */
  @JSProperty("theme")
  @Nullable
  SVGAttributes getTheme();

  /**
   * (Highmaps) A configuration object for the button theme. The object
   * accepts SVG properties like stroke-width, stroke and fill.
   * Tri-state button styles are supported by the states.hover and
   * states.select objects.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.theme
   *
   * @implspec theme?: SVGAttributes;
   *
   */
  @JSProperty("theme")
  void setTheme(SVGAttributes value);

  /**
   * (Highmaps) The vertical alignment of the buttons. Individual alignment
   * can be adjusted by each button's y offset.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.verticalAlign
   *
   * @implspec verticalAlign?: ("bottom"|"middle"|"top");
   *
   */
  @JSProperty("verticalAlign")
  @Nullable
  VerticalAlign getVerticalAlign();

  /**
   * (Highmaps) The vertical alignment of the buttons. Individual alignment
   * can be adjusted by each button's y offset.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.verticalAlign
   *
   * @implspec verticalAlign?: ("bottom"|"middle"|"top");
   *
   */
  @JSProperty("verticalAlign")
  void setVerticalAlign(VerticalAlign value);

  /**
   * (Highmaps) The width of the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.width
   *
   * @implspec width?: number;
   *
   */
  @JSProperty("width")
  double getWidth();

  /**
   * (Highmaps) The width of the map navigation buttons.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.width
   *
   * @implspec width?: number;
   *
   */
  @JSProperty("width")
  void setWidth(double value);

  /**
   * (Highmaps) The X offset of the buttons relative to its align setting.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  double getX();

  /**
   * (Highmaps) The X offset of the buttons relative to its align setting.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  void setX(double value);

  /**
   * (Highmaps) The position of the zoomOut button relative to the vertical
   * alignment.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.y
   *
   * @implspec y?: number;
   *
   */
  @JSProperty("y")
  double getY();

  /**
   * (Highmaps) The position of the zoomOut button relative to the vertical
   * alignment.
   *
   * @see https://api.highcharts.com/highmaps/mapNavigation.buttons.zoomOut.y
   *
   * @implspec y?: number;
   *
   */
  @JSProperty("y")
  void setY(double value);

  /**
   */
  abstract class Align extends JsEnum {
    public static final Align CENTER = JsEnum.of("center");

    public static final Align LEFT = JsEnum.of("left");

    public static final Align RIGHT = JsEnum.of("right");
  }

  /**
   */
  abstract class AlignTo extends JsEnum {
    public static final AlignTo PLOTBOX = JsEnum.of("plotBox");

    public static final AlignTo SPACINGBOX = JsEnum.of("spacingBox");
  }

  /**
   */
  @JSFunctor
  @FunctionalInterface
  interface Onclick extends Any {
    void apply();
  }

  /**
   */
  abstract class VerticalAlign extends JsEnum {
    public static final VerticalAlign BOTTOM = JsEnum.of("bottom");

    public static final VerticalAlign MIDDLE = JsEnum.of("middle");

    public static final VerticalAlign TOP = JsEnum.of("top");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy