source: other-projects/GlamED/trunk/src/org/honours/html/TableRow.java@ 26636

Last change on this file since 26636 was 26588, checked in by davidb, 11 years ago

Initial import of Korii's 520 project for managing digital cultural collections from Greenstone in Expeditee.

File size: 627 bytes
Line 
1package org.honours.html;
2
3import java.util.ArrayList;
4import java.util.List;
5import java.awt.Rectangle;
6
7import org.expeditee.items.Dot;
8
9
10public class TableRow {
11
12 private List<Rectangle> _row;
13 private List<Dot> _dots;
14
15 public TableRow()
16 {
17 _row = new ArrayList<Rectangle>();
18 _dots = new ArrayList<Dot>();
19 }
20
21 /**
22 * Add a rectangle (cell) to the row
23 * @param r
24 */
25 public void add(Rectangle r){
26 _row.add(r);
27 }
28
29 public void addDot(Dot d){
30 _dots.add(d);
31 }
32
33 public List<Dot> getDots(){
34 return _dots;
35 }
36
37 public List<Rectangle> getRow(){
38 return _row;
39 }
40}
Note: See TracBrowser for help on using the repository browser.