public static class DimensionImpl.DimensionPropertyBuilderImpl extends DimensionImpl implements Dimension.DimensionPropertyBuilder
DimensionImpl.DimensionPropertyBuilderImplDimension.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_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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWidthgetHeightpublic DimensionPropertyBuilderImpl()
public DimensionPropertyBuilderImpl(int aWidth,
int aHeight)
aWidth - the widthaHeight - the heightpublic void setWidth(int aWidth)
setWidth in interface WidthAccessor.WidthMutatoraWidth - 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.HeightMutatoraHeight - 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.DimensionMutatoraWidth - the widthaHeight - the heightpublic void setDimension(Dimension aDimension)
setDimension in interface Dimension.DimensionMutatoraDimension - the new dimensionCopyright © 2018. All rights reserved.