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

io.imunity.furms.ui.config.FurmsLayoutExtraPanelsConfig Maven / Gradle / Ivy

There is a newer version: 4.3.1
Show newest version
/*
 * Copyright (c) 2021 Bixbit s.c. All rights reserved.
 *  See LICENSE file for licensing information.
 */

package io.imunity.furms.ui.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConstructorBinding;
import org.springframework.core.io.Resource;

@ConstructorBinding
@ConfigurationProperties(prefix = "furms.front.layout.panels")
public class FurmsLayoutExtraPanelsConfig {

	public final static String TOP_PANEL_ID = "furms-layout-top";
	public final static String LEFT_PANEL_ID = "furms-layout-left";
	public final static String RIGHT_PANEL_ID = "furms-layout-right";
	public final static String BOTOOM_PANEL_ID = "furms-layout-bottom";

	private final Resource top;
	private final Resource left;
	private final Resource right;
	private final Resource bottom;

	public FurmsLayoutExtraPanelsConfig(Resource top, Resource left, Resource right, Resource bottom) {
		this.top = top;
		this.left = left;
		this.right = right;
		this.bottom = bottom;
	}

	public Resource getTop() {
		return top;
	}

	public Resource getLeft() {
		return left;
	}

	public Resource getRight() {
		return right;
	}

	public Resource getBottom() {
		return bottom;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy