public interface Viewport
ScrollableContainer with means to notify objects implementing this
interface about changes of visible area available for widget input and output.| Modifier and Type | Method and Description |
|---|---|
default void |
setViewportDimensions(double width,
double height)
Set viewport dimensions.
|
default void |
setViewportHeight(double height)
Set viewport height.
|
default void |
setViewportWidth(double width)
Set viewport width.
|
default void setViewportWidth(double width)
width - the new viewport widthdefault void setViewportHeight(double height)
height - the new viewport heightdefault void setViewportDimensions(double width,
double height)
setViewportWidth(double) and setViewportHeight(double).width - the new viewport widthheight - the new viewport height