| Modifier and Type | Method and Description |
|---|---|
AreaSizeI |
build()
Builds a new
AreaSizeI. |
AreaSizeI.Builder |
from(AreaSizeIType instance)
Fill a builder with attribute values from the provided
com.io7m.jregions.core.unparameterized.sizes.AreaSizeIType instance. |
AreaSizeI.Builder |
from(AreaSizeValuesIType instance)
Fill a builder with attribute values from the provided
com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesIType instance. |
AreaSizeI.Builder |
setHeight(int height)
Initializes the value for the
height attribute. |
AreaSizeI.Builder |
setWidth(int width)
Initializes the value for the
width attribute. |
public final AreaSizeI.Builder from(AreaSizeValuesIType instance)
com.io7m.jregions.core.unparameterized.sizes.AreaSizeValuesIType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final AreaSizeI.Builder from(AreaSizeIType instance)
com.io7m.jregions.core.unparameterized.sizes.AreaSizeIType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final AreaSizeI.Builder setWidth(int width)
width attribute.width - The value for widththis builder for use in a chained invocationpublic final AreaSizeI.Builder setHeight(int height)
height attribute.height - The value for heightthis builder for use in a chained invocationpublic AreaSizeI build()
AreaSizeI.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com