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

org.teamapps.dto.UiSelectionFrame Maven / Gradle / Ivy

There is a newer version: 0.9.194
Show newest version
package org.teamapps.dto;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, property = "_type", defaultImpl = UiSelectionFrame.class)
public class UiSelectionFrame implements UiObject {


	protected String color = "rgb(102, 174, 232)";
	protected int borderWidth = 2;
	protected int animationDuration = 100;
	protected int glowingWidth = 5;
	protected int shadowWidth = 0;
	protected boolean fullRow = false;

	public UiSelectionFrame() {
	}

	@com.fasterxml.jackson.annotation.JsonIgnore
	public UiObjectType getUiObjectType() {
		return UiObjectType.UI_SELECTION_FRAME;
	}

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("color=" + color).append(", ")
				.append("borderWidth=" + borderWidth).append(", ")
				.append("animationDuration=" + animationDuration).append(", ")
				.append("glowingWidth=" + glowingWidth).append(", ")
				.append("shadowWidth=" + shadowWidth).append(", ")
				.append("fullRow=" + fullRow)
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("color")
	public String getColor() {
		return color;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("borderWidth")
	public int getBorderWidth() {
		return borderWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("animationDuration")
	public int getAnimationDuration() {
		return animationDuration;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("glowingWidth")
	public int getGlowingWidth() {
		return glowingWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("shadowWidth")
	public int getShadowWidth() {
		return shadowWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("fullRow")
	public boolean getFullRow() {
		return fullRow;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("color")
	public UiSelectionFrame setColor(String color) {
		this.color = color;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("borderWidth")
	public UiSelectionFrame setBorderWidth(int borderWidth) {
		this.borderWidth = borderWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("animationDuration")
	public UiSelectionFrame setAnimationDuration(int animationDuration) {
		this.animationDuration = animationDuration;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("glowingWidth")
	public UiSelectionFrame setGlowingWidth(int glowingWidth) {
		this.glowingWidth = glowingWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("shadowWidth")
	public UiSelectionFrame setShadowWidth(int shadowWidth) {
		this.shadowWidth = shadowWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("fullRow")
	public UiSelectionFrame setFullRow(boolean fullRow) {
		this.fullRow = fullRow;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy