public class DimensionImpl extends Object implements Dimension
Modifier and Type | Class and Description |
---|---|
static class |
DimensionImpl.DimensionPropertyBuilderImpl |
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilder
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
Modifier and Type | Field and Description |
---|---|
protected int |
_height |
protected int |
_width |
Modifier | Constructor and Description |
---|---|
protected |
DimensionImpl() |
|
DimensionImpl(int aWidth,
int aHeight) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Retrieves the height from the height property.
|
int |
getWidth()
Retrieves the width from the width property.
|
String |
toString() |
protected DimensionImpl()
public DimensionImpl(int aWidth, int aHeight)
public int getWidth()
WidthAccessor
getWidth
in interface WidthAccessor
public int getHeight()
HeightAccessor
getHeight
in interface HeightAccessor
Copyright © 2016. All rights reserved.