|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.docviewer.SelectedArea
public class SelectedArea
The Class SelectedArea.
Constructor Summary | |
---|---|
SelectedArea()
Instantiates a new selected area. |
|
SelectedArea(long id,
int x1,
int y1,
int x2,
int y2)
Instantiates a new selected area. |
Method Summary | |
---|---|
float |
getHeight()
Gets the height. |
long |
getId()
Gets the id. |
float |
getWidth()
Gets the width. |
float |
getX1()
Gets the x1. |
float |
getX2()
Gets the x2. |
float |
getY1()
Gets the y1. |
float |
getY2()
Gets the y2. |
void |
setId(long id)
Sets the id. |
void |
setX1(int x1)
Sets the x1. |
void |
setX2(int x2)
Sets the x2. |
void |
setY1(int y1)
Sets the y1. |
void |
setY2(int y2)
Sets the y2. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SelectedArea()
public SelectedArea(long id, int x1, int y1, int x2, int y2)
id
- the idx1
- the x1y1
- the y1x2
- the x2y2
- the y2Method Detail |
---|
public float getHeight()
public long getId()
public float getWidth()
public float getX1()
public float getX2()
public float getY1()
public float getY2()
public void setId(long id)
id
- the new idpublic void setX1(int x1)
x1
- the new x1public void setX2(int x2)
x2
- the new x2public void setY1(int y1)
y1
- the new y1public void setY2(int y2)
y2
- the new y2public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |