Dimension
, HeightAccessor
, WidthAccessor
DimensionImpl.DimensionPropertyBuilderImpl
public class DimensionImpl extends Object implements Dimension
Modifier and Type | Class | Description |
---|---|---|
static class |
DimensionImpl.DimensionPropertyBuilderImpl |
The Class DimensionPropertyBuilderImpl.
|
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilder
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
Modifier | Constructor | Description |
---|---|---|
protected |
DimensionImpl() |
Instantiates a new dimension impl.
|
|
DimensionImpl(int aWidth,
int aHeight) |
Instantiates a new dimension impl.
|
Modifier and Type | Method | 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)
aWidth
- the widthaHeight
- the heightpublic int getWidth()
getWidth
in interface WidthAccessor
public int getHeight()
getHeight
in interface HeightAccessor
Copyright © 2018. All rights reserved.