public interface Page
| Modifier and Type | Method and Description |
|---|---|
Box |
getBoxAt(int x,
int y)
Finds the deepest node in the tree that contains the given point.
|
Vector<Box> |
getBoxesInRegion(Rectangular r)
Finds the root boxes of subtrees that are fully contained in the given region based on their visual bounds.
|
int |
getHeight()
Obtains the page height.
|
Box |
getRoot()
Returns the root box of the page.
|
URL |
getSourceURL()
Obtains the source URL of the page.
|
String |
getTitle()
Obtains the page title specified using the
<title> tag. |
int |
getWidth()
Obtains the page width.
|
URL getSourceURL()
String getTitle()
<title> tag.int getWidth()
int getHeight()
Box getRoot()
Box getBoxAt(int x, int y)
x - The point X coordinatey - The point Y coordinatenull when there is no box
in the tree placed at the given coordinates.Vector<Box> getBoxesInRegion(Rectangular r)
r - The region to be testedCopyright © 2018. All rights reserved.