public class ExceedingContent extends Object
A type that describes one instance of content exceeding its page or parent.
Result.getExceedingContents()
Modifier and Type | Method and Description |
---|---|
int |
getContainerBottom()
Returns the bottom coordinate of the the container box in the page in pixels.
|
int |
getContainerLeft()
Returns the left coordinate of the the container box in the page in pixels.
|
int |
getContainerRight()
Returns the right coordinate of the the container box in the page in pixels.
|
int |
getContainerTop()
Returns the top coordinate of the the container box in the page in pixels.
|
String |
getDescription()
Returns a description of the content.
|
int |
getExceedingBoxBottom()
Returns the bottom coordinate of the the exceeding box in the page in pixels.
|
int |
getExceedingBoxLeft()
Returns the left coordinate of the the exceeding box in the page in pixels.
|
int |
getExceedingBoxRight()
Returns the right coordinate of the the exceeding box in the page in pixels.
|
int |
getExceedingBoxTop()
Returns the top coordinate of the the exceeding box in the page in pixels.
|
String |
getHtml()
Returns the HTML of the box that contains the exceeding content.
|
int |
getPageBottom()
Returns the bottom coordinate of the the page in pixels.
|
int |
getPageLeft()
Returns the left coordinate of the the page in pixels.
|
int |
getPageNumber()
Returns the number of the page that contains the exceeding content.
|
int |
getPageRight()
Returns the right coordinate of the the page in pixels.
|
int |
getPageTop()
Returns the top coordinate of the the page in pixels.
|
int[] |
getPath()
Returns an array of integers denoting the indexes of the ancestors of
the DOM node corresponding to the box containing the exceeding content,
starting from below the root node down to the element itself.
|
String |
getSummary()
Returns a summary of this exceeding content object.
|
boolean |
isBottom()
Returns whether the content exceeds the page at the bottom.
|
boolean |
isBox()
Returns whether the exceeding content is a box instead of text or image content.
|
boolean |
isLeft()
Returns whether the content exceeds the page to the left.
|
boolean |
isRight()
Returns whether the content exceeds the page to the right.
|
boolean |
isTop()
Returns whether the content exceeds the page at the top.
|
String |
toString() |
public int getPageNumber()
Returns the number of the page that contains the exceeding content.
public boolean isRight()
Returns whether the content exceeds the page to the right.
public boolean isBottom()
Returns whether the content exceeds the page at the bottom.
public boolean isLeft()
Returns whether the content exceeds the page to the left.
public boolean isTop()
Returns whether the content exceeds the page at the top.
public String getDescription()
Returns a description of the content. In case of text content, the text is returned. In case of images the URL is returned if available.
public boolean isBox()
Returns whether the exceeding content is a box instead of text or image content.
public String getHtml()
Returns the HTML of the box that contains the exceeding content.
public int[] getPath()
Returns an array of integers denoting the indexes of the ancestors of the DOM node corresponding to the box containing the exceeding content, starting from below the root node down to the element itself.
public int getPageLeft()
Returns the left coordinate of the the page in pixels.
public int getPageTop()
Returns the top coordinate of the the page in pixels.
public int getPageRight()
Returns the right coordinate of the the page in pixels.
public int getPageBottom()
Returns the bottom coordinate of the the page in pixels.
public int getContainerLeft()
Returns the left coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.
public int getContainerTop()
Returns the top coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.
public int getContainerRight()
Returns the right coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.
public int getContainerBottom()
Returns the bottom coordinate of the the container box in the page in pixels. Depending on the settings this box may be the page.
public int getExceedingBoxLeft()
Returns the left coordinate of the the exceeding box in the page in pixels.
public int getExceedingBoxTop()
Returns the top coordinate of the the exceeding box in the page in pixels.
public int getExceedingBoxRight()
Returns the right coordinate of the the exceeding box in the page in pixels.
public int getExceedingBoxBottom()
Returns the bottom coordinate of the the exceeding box in the page in pixels.
public String getSummary()
Returns a summary of this exceeding content object.
This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.