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() |
DimensionPropertyBuilderImpl(int aWidth,
int aHeight) |
Modifier and Type | Method and Description |
---|---|
void |
setDimension(Dimension aDimension) |
void |
setDimension(int aWidth,
int aHeight) |
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) |
DimensionImpl.DimensionPropertyBuilderImpl |
withDimension(int aWidth,
int aHeight) |
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)
public 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)
withDimension
in interface Dimension.DimensionBuilder<Dimension.DimensionPropertyBuilder>
public DimensionImpl.DimensionPropertyBuilderImpl withDimension(Dimension aDimension)
withDimension
in interface Dimension.DimensionBuilder<Dimension.DimensionPropertyBuilder>
public void setDimension(int aWidth, int aHeight)
setDimension
in interface Dimension.DimensionMutator
public void setDimension(Dimension aDimension)
setDimension
in interface Dimension.DimensionMutator
Copyright © 2016. All rights reserved.