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

software.xdev.vaadin.maps.leaflet.layer.LAbstractImageOverlayOptions Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2019 XDEV Software (https://xdev.software)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package software.xdev.vaadin.maps.leaflet.layer;

public abstract class LAbstractImageOverlayOptions>
	extends LInteractiveLayerOptions
{
	private Double opacity;
	private String alt;
	// Boolean|String
	private Object crossOrigin;
	private String errorOverlayUrl;
	private Integer zIndex;
	private String className;
	
	public Double getOpacity()
	{
		return this.opacity;
	}
	
	public void setOpacity(final Double opacity)
	{
		this.opacity = opacity;
	}
	
	public S withOpacity(final Double opacity)
	{
		this.setOpacity(opacity);
		return this.self();
	}
	
	public String getAlt()
	{
		return this.alt;
	}
	
	public void setAlt(final String alt)
	{
		this.alt = alt;
	}
	
	public S withAlt(final String alt)
	{
		this.setAlt(alt);
		return this.self();
	}
	
	public Object getCrossOrigin()
	{
		return this.crossOrigin;
	}
	
	public void setCrossOrigin(final Object crossOrigin)
	{
		this.crossOrigin = crossOrigin;
	}
	
	public S withCrossOrigin(final Object crossOrigin)
	{
		this.setCrossOrigin(crossOrigin);
		return this.self();
	}
	
	public String getErrorOverlayUrl()
	{
		return this.errorOverlayUrl;
	}
	
	public void setErrorOverlayUrl(final String errorOverlayUrl)
	{
		this.errorOverlayUrl = errorOverlayUrl;
	}
	
	public S withErrorOverlayUrl(final String errorOverlayUrl)
	{
		this.setErrorOverlayUrl(errorOverlayUrl);
		return this.self();
	}
	
	public Integer getzIndex()
	{
		return this.zIndex;
	}
	
	public void setzIndex(final Integer zIndex)
	{
		this.zIndex = zIndex;
	}
	
	public S withZIndex(final Integer zIndex)
	{
		this.setzIndex(zIndex);
		return this.self();
	}
	
	public String getClassName()
	{
		return this.className;
	}
	
	public void setClassName(final String className)
	{
		this.className = className;
	}
	
	public S withClassName(final String className)
	{
		this.setClassName(className);
		return this.self();
	}
}