1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package tbDataModel_Dell;
| import java.util.Vector;
|
| import tbDataModel.Yuan;
|
| public class Dell_yuan {
| static Vector<Yuan> yuan_vector=new Vector<Yuan>();
|
| /**»ñȡԲȦµÄ¼¯ºÏ*/
| public static Vector<Yuan> getYuan_vector() {
| return yuan_vector;
| }
|
| /**²åÈëÒ»¸öÔ²µÄ¶ÔÏó*/
| public static void insert_yuan(int x,int y,int w,int h) {
| Yuan yuan=new Yuan();
| yuan.setX(x);
| yuan.setY(y);
| yuan.setW(w);
| yuan.setH(h);
| yuan_vector.add(yuan);
| }
|
| }
|
|