Last change
on this file since 26588 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:
558 bytes
|
Rev | Line | |
---|
[26588] | 1 | package org.honours.html;
|
---|
| 2 |
|
---|
| 3 | import java.awt.Rectangle;
|
---|
| 4 | import org.expeditee.items.Dot;
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * Class that represents a Div object for converting
|
---|
| 8 | * rectangles on an Expeditee frame to div html elements.
|
---|
| 9 | * @author Korii
|
---|
| 10 | *
|
---|
| 11 | */
|
---|
| 12 | public class Div {
|
---|
| 13 |
|
---|
| 14 | private Rectangle _div;
|
---|
| 15 | private Dot _dot;
|
---|
| 16 |
|
---|
| 17 | public Div(Rectangle d){
|
---|
| 18 | _div = d;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public void setDot(Dot d){
|
---|
| 22 | _dot = d;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | public Dot getDot(){
|
---|
| 26 | return _dot;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | public void setDiv(Rectangle r){
|
---|
| 30 | _div = r;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public Rectangle getDiv(){
|
---|
| 34 | return _div;
|
---|
| 35 | }
|
---|
| 36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.