Statistics
| Revision:

svn-document-layout / trunk / org.gvsig.app.document.layout2.app / org.gvsig.app.document.layout2.app.mainplugin / src / main / java / org / gvsig / layout / mapbox / model / Cell.java @ 1714

History | View | Annotate | Download (1003 Bytes)

1
/*
2
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
3
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
4
 */
5
package org.gvsig.layout.mapbox.model;
6

    
7
import java.awt.geom.Rectangle2D;
8
import org.gvsig.tools.persistence.Persistent;
9

    
10
/**
11
 *
12
 * @author fdiaz
13
 */
14
public interface Cell extends org.gvsig.tools.lang.Cloneable, Persistent {
15

    
16
    @Override
17
    public Cell clone() throws CloneNotSupportedException;
18

    
19
    public boolean contains(double x, double y);
20

    
21
    public double getHeight();
22

    
23
    public double getWidth();
24

    
25
    public double getX();
26

    
27
    public double getY();
28

    
29
    public boolean intersects(Rectangle2D rect);
30

    
31
    public boolean isContained(Rectangle2D rect);
32

    
33
    public void setHeight(double height);
34

    
35
    public void setWidth(double width);
36

    
37
    public void setX(double x);
38

    
39
    public void setY(double y);
40

    
41
    public void join(Cell other);
42

    
43
    public Rectangle2D getRectangle();
44
    
45
}