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

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

There is a newer version: 0.1.0-alpha2
Show newest version
package com.github.fluorumlabs.disconnect.highcharts;

import javax.annotation.Nullable;
import js.extras.JsEnum;
import js.lang.Any;
import org.teavm.jso.JSProperty;

/**
 * (Highcharts, Highmaps) Positioning options for the button within the
 * relativeTo box. Available properties are x, y, align and
 * verticalAlign.
 *
 * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position
 * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position
 *
 */
public interface DrilldownDrillUpButtonPositionOptions extends Any {
  /**
   * (Highcharts, Highmaps) Horizontal alignment.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.align
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.align
   *
   * @implspec align?: ("center"|"left"|"right");
   *
   */
  @JSProperty("align")
  @Nullable
  Align getAlign();

  /**
   * (Highcharts, Highmaps) Horizontal alignment.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.align
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.align
   *
   * @implspec align?: ("center"|"left"|"right");
   *
   */
  @JSProperty("align")
  void setAlign(Align value);

  /**
   * (Highcharts, Highmaps) Vertical alignment of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.verticalAlign
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.verticalAlign
   *
   * @implspec verticalAlign?: ("bottom"|"middle"|"top");
   *
   */
  @JSProperty("verticalAlign")
  @Nullable
  VerticalAlign getVerticalAlign();

  /**
   * (Highcharts, Highmaps) Vertical alignment of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.verticalAlign
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.verticalAlign
   *
   * @implspec verticalAlign?: ("bottom"|"middle"|"top");
   *
   */
  @JSProperty("verticalAlign")
  void setVerticalAlign(VerticalAlign value);

  /**
   * (Highcharts, Highmaps) The X offset of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.x
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  double getX();

  /**
   * (Highcharts, Highmaps) The X offset of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.x
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  void setX(double value);

  /**
   * (Highcharts, Highmaps) The Y offset of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.y
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.y
   *
   * @implspec y?: number;
   *
   */
  @JSProperty("y")
  double getY();

  /**
   * (Highcharts, Highmaps) The Y offset of the button.
   *
   * @see https://api.highcharts.com/highcharts/drilldown.drillUpButton.position.y
   * @see https://api.highcharts.com/highmaps/drilldown.drillUpButton.position.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 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 - 2025 Weber Informatics LLC | Privacy Policy