public class Page extends Object
Object which represents a page
Constructor and Description |
---|
Page()
Creates a new instance of Page
|
Page(int id,
float width,
float height)
Creates a new instance of Page
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets or Sets height of Page
|
int |
getId()
Gets or Sets page id
|
float |
getWidth()
Gets or Sets width of Page
|
void |
setHeight(float value)
Gets or Sets height of Page
|
void |
setId(int value)
Gets or Sets page id
|
void |
setWidth(float value)
Gets or Sets width of Page
|
public Page()
Creates a new instance of Page
public Page(int id, float width, float height)
Creates a new instance of Page
id
- Page Idwidth
- Page widthheight
- Page heightpublic int getId()
Gets or Sets page id
public void setId(int value)
Gets or Sets page id
value
- the valuepublic float getWidth()
Gets or Sets width of Page
public void setWidth(float value)
Gets or Sets width of Page
value
- the valuepublic float getHeight()
Gets or Sets height of Page
public void setHeight(float value)
Gets or Sets height of Page
value
- the valueCopyright © 2018. All rights reserved.