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.DimensionPropertyBuilderWidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthPropertyHeightAccessor.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()
WidthAccessorgetWidth in interface WidthAccessorpublic int getHeight()
HeightAccessorgetHeight in interface HeightAccessorCopyright © 2017. All rights reserved.