com.vaadin.flow.component.charts.model.Rules 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;
/**
* A set of rules for responsive settings. The rules are executed from the top
* down.
*/
public class Rules extends AbstractConfigurationObject {
private Condition condition;
public Rules() {
}
/**
* @see #setCondition(Condition)
*/
public Condition getCondition() {
if (condition == null) {
condition = new Condition();
}
return condition;
}
/**
* Under which conditions the rule applies.
*/
public void setCondition(Condition condition) {
this.condition = condition;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy