-
public final class LayoutViewportLayout viewport position and dimensions.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerpageXprivate final IntegerpageYprivate final IntegerclientWidthprivate final IntegerclientHeight
-
Constructor Summary
Constructors Constructor Description LayoutViewport(Integer pageX, Integer pageY, Integer clientWidth, Integer clientHeight)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Integercomponent2()final Integercomponent3()final Integercomponent4()final LayoutViewportcopy(Integer pageX, Integer pageY, Integer clientWidth, Integer clientHeight)final IntegergetPageX()Horizontal offset relative to the document (CSS pixels). final IntegergetPageY()Vertical offset relative to the document (CSS pixels). final IntegergetClientWidth()Width (CSS pixels), excludes scrollbar if present. final IntegergetClientHeight()Height (CSS pixels), excludes scrollbar if present. -
-
Method Detail
-
component1
final Integer component1()
-
component2
final Integer component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
copy
final LayoutViewport copy(Integer pageX, Integer pageY, Integer clientWidth, Integer clientHeight)
-
getClientWidth
final Integer getClientWidth()
Width (CSS pixels), excludes scrollbar if present.
-
getClientHeight
final Integer getClientHeight()
Height (CSS pixels), excludes scrollbar if present.
-
-
-
-