com.vaadin.flow.component.charts.model.Handles Maven / Gradle / Ivy
/**
* Copyright 2000-2024 Vaadin Ltd.
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See {@literal } for the full
* license.
*/
package com.vaadin.flow.component.charts.model;
import com.vaadin.flow.component.charts.model.style.Color;
/**
*
* Options for the handles for dragging the zoomed area.
*
*
*
* In
* styled mode, the navigator handles are styled with the
* .highcharts-navigator-handle
,
* .highcharts-navigator-handle-left
and
* .highcharts-navigator-handle-right
classes.
*
*/
public class Handles extends AbstractConfigurationObject {
private Color backgroundColor;
private Color borderColor;
public Handles() {
}
/**
* @see #setBackgroundColor(Color)
*/
public Color getBackgroundColor() {
return backgroundColor;
}
/**
* The fill for the handle.
*
* Defaults to: #f2f2f2
*/
public void setBackgroundColor(Color backgroundColor) {
this.backgroundColor = backgroundColor;
}
/**
* @see #setBorderColor(Color)
*/
public Color getBorderColor() {
return borderColor;
}
/**
* The stroke for the handle border and the stripes inside.
*
* Defaults to: #999999
*/
public void setBorderColor(Color borderColor) {
this.borderColor = borderColor;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy