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

org.wicketstuff.googlecharts.FillArea Maven / Gradle / Ivy

The newest version!
/*
 * Created on Dec 11, 2007
 */
package org.wicketstuff.googlecharts;

import java.awt.Color;

/**
 * @author Daniel Spiewak
 */
public class FillArea implements IFillArea
{

	private static final long serialVersionUID = 6195093558116437908L;
	private Color color;
	private int endIndex = -1;
	private int startIndex = -1;
	private AreaFillType type = AreaFillType.BETWEEN;

	public FillArea(Color color, int startIndex, int endIndex)
	{
		this.color = color;
		this.startIndex = startIndex;
		this.endIndex = endIndex;
	}

	public Color getColor()
	{
		return color;
	}

	public int getEndIndex()
	{
		return endIndex;
	}

	public int getStartIndex()
	{
		return startIndex;
	}

	public AreaFillType getType()
	{
		return type;
	}

	public void setColor(Color color)
	{
		this.color = color;
	}

	public void setEndIndex(int endIndex)
	{
		this.endIndex = endIndex;
	}

	public void setStartIndex(int startIndex)
	{
		this.startIndex = startIndex;
	}

	public void setType(AreaFillType type)
	{
		this.type = type;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy