summaryrefslogtreecommitdiffstats
path: root/contrib/com/codecommit/wicket/ChartGrid.java
blob: 9fdee20056558015a7195ce561b39ded46e17c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * Created on Dec 11, 2007
 */
package com.codecommit.wicket;

/**
 * @author Daniel Spiewak
 */
public class ChartGrid implements IChartGrid {
	private int blankLength = -1;
	private int segmentLength = -1;
	private int xStepSize = -1;
	private int yStepSize = -1;
	
	public ChartGrid(int xStepSize, int yStepSize) {
		this.xStepSize = xStepSize;
		this.yStepSize = yStepSize;
	}

	public int getBlankLength() {
		return blankLength;
	}

	public int getSegmentLength() {
		return segmentLength;
	}

	public double getXStepSize() {
		return xStepSize;
	}

	public double getYStepSize() {
		return yStepSize;
	}

	public void setBlankLength(int blankLength) {
		this.blankLength = blankLength;
	}

	public void setSegmentLength(int segmentLength) {
		this.segmentLength = segmentLength;
	}

	public void setXStepSize(int stepSize) {
		xStepSize = stepSize;
	}

	public void setYStepSize(int stepSize) {
		yStepSize = stepSize;
	}
}