< prev index next >
tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/TableUtils.java
Print this page
*** 253,264 ****
*
* @param wrap of control.
* @return
*/
static Rectangle getActuallyVisibleArea(final Wrap<? extends Control> wrap) {
! final Rectangle viewArea = getContainerWrap(wrap.as(Parent.class, Node.class)).getScreenBounds();
! final Rectangle clippedContainerArea = getClippedContainerWrap(wrap.as(Parent.class, Node.class)).getScreenBounds();
return new Rectangle(viewArea.x, viewArea.y, clippedContainerArea.width, clippedContainerArea.height);
}
/**
* @return wrap of parent container that contains Cells
--- 253,264 ----
*
* @param wrap of control.
* @return
*/
static Rectangle getActuallyVisibleArea(final Wrap<? extends Control> wrap) {
! final Rectangle viewArea = getContainerWrap((Parent <Node>)wrap.as(Parent.class, Node.class)).getScreenBounds();
! final Rectangle clippedContainerArea = getClippedContainerWrap((Parent <Node>)wrap.as(Parent.class, Node.class)).getScreenBounds();
return new Rectangle(viewArea.x, viewArea.y, clippedContainerArea.width, clippedContainerArea.height);
}
/**
* @return wrap of parent container that contains Cells
< prev index next >