ViewportOffsetXAccessor.ViewportOffsetXMutator
, ViewportOffsetYAccessor.ViewportOffsetYMutator
ViewportOffset.ViewportOffsetProperty
, ViewportOffset.ViewportOffsetPropertyBuilder
, ViewportPane<B>
ViewportOffsetImpl.ViewportOffsetPropertyBuilderImpl
public static interface ViewportOffset.ViewportOffsetMutator extends ViewportOffsetXAccessor.ViewportOffsetXMutator, ViewportOffsetYAccessor.ViewportOffsetYMutator
Modifier and Type | Method | Description |
---|---|---|
void |
setViewportOffset(int aOffsetX,
int aOffsetY) |
Sets the viewport offset.
|
void |
setViewportOffset(Offset aOffset) |
Sets the viewport offset.
|
void |
setViewportOffset(Position aOffset) |
Sets the viewport offset.
|
void |
setViewportOffset(ViewportOffset aOffset) |
Sets the viewport offset.
|
setViewportOffsetX
setViewportOffsetY
void setViewportOffset(int aOffsetX, int aOffsetY)
aOffsetX
- the offset XaOffsetY
- the offset Yvoid setViewportOffset(ViewportOffset aOffset)
aOffset
- the new viewport offsetvoid setViewportOffset(Offset aOffset)
aOffset
- the new viewport offsetvoid setViewportOffset(Position aOffset)
aOffset
- the new viewport offsetCopyright © 2018. All rights reserved.