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