root / tags / v1_1_Build_1001 / extensions / extExpressionField / src / com / iver / cit / gvsig / project / documents / table / Index.java @ 11984
History | View | Annotate | Download (285 Bytes)
1 |
package com.iver.cit.gvsig.project.documents.table; |
---|---|
2 |
/**
|
3 |
* @author Vicente Caballero Navarro
|
4 |
*/
|
5 |
public class Index { |
6 |
private int index=0; |
7 |
|
8 |
public void next() { |
9 |
index++; |
10 |
} |
11 |
public void previous() { |
12 |
index--; |
13 |
} |
14 |
public int get() { |
15 |
return index;
|
16 |
} |
17 |
public void set(int i) { |
18 |
index=i; |
19 |
} |
20 |
} |