Package org.refcodes.graphical
Interface Dimension.DimensionMutator
-
- All Superinterfaces:
HeightAccessor.HeightMutator
,WidthAccessor.WidthMutator
- All Known Subinterfaces:
Dimension.DimensionProperty
,Dimension.DimensionPropertyBuilder
,PixmapImageBuilder<PX>
,RgbPixmapImageBuilder
- All Known Implementing Classes:
DimensionImpl.DimensionPropertyBuilderImpl
,RgbPixmapImageBuilderImpl
- Enclosing interface:
- Dimension
public static interface Dimension.DimensionMutator extends WidthAccessor.WidthMutator, HeightAccessor.HeightMutator
Provides a mutator for a dimension property (width and height).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setDimension(int aWidth, int aHeight)
Sets the dimension.void
setDimension(Dimension aDimension)
Sets the dimension.-
Methods inherited from interface org.refcodes.graphical.HeightAccessor.HeightMutator
setHeight
-
Methods inherited from interface org.refcodes.graphical.WidthAccessor.WidthMutator
setWidth
-
-
-
-
Method Detail
-
setDimension
void setDimension(int aWidth, int aHeight)
Sets the dimension.- Parameters:
aWidth
- the widthaHeight
- the height
-
setDimension
void setDimension(Dimension aDimension)
Sets the dimension.- Parameters:
aDimension
- the new dimension
-
-