public class ViewportDimensionImpl extends Object implements ViewportDimension
Modifier and Type | Class and Description |
---|---|
static class |
ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl |
ViewportDimension.ViewportDimensionBuilder<B extends ViewportDimension.ViewportDimensionBuilder<B>>, ViewportDimension.ViewportDimensionMutator, ViewportDimension.ViewportDimensionProperty, ViewportDimension.ViewportDimensionPropertyBuilderBuilder
ViewportHeightAccessor.ViewportHeightBuilder<B extends ViewportHeightAccessor.ViewportHeightBuilder<B>>, ViewportHeightAccessor.ViewportHeightMutator, ViewportHeightAccessor.ViewportHeightProperty
ViewportWidthAccessor.ViewportWidthBuilder<B extends ViewportWidthAccessor.ViewportWidthBuilder<B>>, ViewportWidthAccessor.ViewportWidthMutator, ViewportWidthAccessor.ViewportWidthProperty
Modifier and Type | Field and Description |
---|---|
protected int |
_height |
protected int |
_width |
Modifier | Constructor and Description |
---|---|
protected |
ViewportDimensionImpl() |
|
ViewportDimensionImpl(int aWidth,
int aHeight) |
Modifier and Type | Method and Description |
---|---|
int |
getViewportHeight()
Retrieves the viewport height from the viewport height property.
|
int |
getViewportWidth()
Retrieves the viewport width from the viewport width property.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
protected ViewportDimensionImpl()
public ViewportDimensionImpl(int aWidth, int aHeight)
public int getViewportWidth()
ViewportWidthAccessor
getViewportWidth
in interface ViewportWidthAccessor
public int getViewportHeight()
ViewportHeightAccessor
getViewportHeight
in interface ViewportHeightAccessor
Copyright © 2017. All rights reserved.