Dimension
, Dimension.DimensionBuilder<Dimension.DimensionPropertyBuilder>
, Dimension.DimensionMutator
, Dimension.DimensionProperty
, Dimension.DimensionPropertyBuilder
, HeightAccessor
, HeightAccessor.HeightBuilder<Dimension.DimensionPropertyBuilder>
, HeightAccessor.HeightMutator
, HeightAccessor.HeightProperty
, WidthAccessor
, WidthAccessor.WidthBuilder<Dimension.DimensionPropertyBuilder>
, WidthAccessor.WidthMutator
, WidthAccessor.WidthProperty
public static class DimensionImpl.DimensionPropertyBuilderImpl extends DimensionImpl implements Dimension.DimensionPropertyBuilder
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilder
DimensionImpl.DimensionPropertyBuilderImpl
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
_height, _width
Constructor | Description |
---|---|
DimensionPropertyBuilderImpl() |
Instantiates a new dimension property builder impl.
|
DimensionPropertyBuilderImpl(int aWidth,
int aHeight) |
Instantiates a new dimension property builder impl.
|
Modifier and Type | Method | Description |
---|---|---|
void |
setDimension(int aWidth,
int aHeight) |
Sets the dimension.
|
void |
setDimension(Dimension aDimension) |
Sets the dimension.
|
void |
setHeight(int aHeight) |
Sets the height for the height property.
|
void |
setWidth(int aWidth) |
Sets the width for the width property.
|
DimensionImpl.DimensionPropertyBuilderImpl |
withDimension(int aWidth,
int aHeight) |
With dimension.
|
DimensionImpl.DimensionPropertyBuilderImpl |
withDimension(Dimension aDimension) |
With dimension.
|
DimensionImpl.DimensionPropertyBuilderImpl |
withHeight(int aHeight) |
Sets the height for the height property.
|
DimensionImpl.DimensionPropertyBuilderImpl |
withWidth(int aWidth) |
Sets the width for the width property.
|
getHeight, getWidth, toString
getHeight
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWidth
public DimensionPropertyBuilderImpl()
public DimensionPropertyBuilderImpl(int aWidth, int aHeight)
aWidth
- the widthaHeight
- the heightpublic void setWidth(int aWidth)
setWidth
in interface WidthAccessor.WidthMutator
aWidth
- The width to be stored by the width property.public DimensionImpl.DimensionPropertyBuilderImpl withWidth(int aWidth)
withWidth
in interface WidthAccessor.WidthBuilder<Dimension.DimensionPropertyBuilder>
aWidth
- The width to be stored by the width property.public void setHeight(int aHeight)
setHeight
in interface HeightAccessor.HeightMutator
aHeight
- The height to be stored by the height property.public DimensionImpl.DimensionPropertyBuilderImpl withHeight(int aHeight)
withHeight
in interface HeightAccessor.HeightBuilder<Dimension.DimensionPropertyBuilder>
aHeight
- The height to be stored by the height property.public DimensionImpl.DimensionPropertyBuilderImpl withDimension(int aWidth, int aHeight)
withDimension
in interface Dimension.DimensionBuilder<Dimension.DimensionPropertyBuilder>
aWidth
- the widthaHeight
- the heightpublic DimensionImpl.DimensionPropertyBuilderImpl withDimension(Dimension aDimension)
withDimension
in interface Dimension.DimensionBuilder<Dimension.DimensionPropertyBuilder>
aDimension
- the dimensionpublic void setDimension(int aWidth, int aHeight)
setDimension
in interface Dimension.DimensionMutator
aWidth
- the widthaHeight
- the heightpublic void setDimension(Dimension aDimension)
setDimension
in interface Dimension.DimensionMutator
aDimension
- the new dimensionCopyright © 2018. All rights reserved.