James Moger
2011-04-04 fc84260e4238fda10842c1bd3b9fb0cb74b95426
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
 * Created on Dec 11, 2007
 */
package com.codecommit.wicket;
 
import java.awt.Color;
 
/**
 * @author Daniel Spiewak
 */
public class ChartAxis implements IChartAxis {
    private AxisAlignment alignment;
    private Color color;
    private int fontSize = -1;
    private String[] labels;
    private double[] positions;
    private Range range;
    private ChartAxisType type;
    
    public ChartAxis(ChartAxisType type) {
        this.type = type;
    }
 
    public AxisAlignment getAlignment() {
        return alignment;
    }
 
    public Color getColor() {
        return color;
    }
 
    public int getFontSize() {
        return fontSize;
    }
 
    public String[] getLabels() {
        return labels;
    }
 
    public double[] getPositions() {
        return positions;
    }
 
    public Range getRange() {
        return range;
    }
 
    public ChartAxisType getType() {
        return type;
    }
 
    public void setAlignment(AxisAlignment alignment) {
        this.alignment = alignment;
    }
 
    public void setColor(Color color) {
        this.color = color;
    }
 
    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }
 
    public void setLabels(String[] labels) {
        this.labels = labels;
    }
 
    public void setPositions(double[] positions) {
        this.positions = positions;
    }
 
    public void setRange(Range range) {
        this.range = range;
    }
 
    public void setType(ChartAxisType type) {
        this.type = type;
    }
}