PX
- the generic typeBuildPixmap<PX>
, Dimension
, Dimension.DimensionBuilder<PixmapImageBuilder<PX>>
, Dimension.DimensionMutator
, Dimension.DimensionProperty
, HeightAccessor
, HeightAccessor.HeightBuilder<PixmapImageBuilder<PX>>
, HeightAccessor.HeightMutator
, HeightAccessor.HeightProperty
, WidthAccessor
, WidthAccessor.WidthBuilder<PixmapImageBuilder<PX>>
, WidthAccessor.WidthMutator
, WidthAccessor.WidthProperty
RgbPixmapImageBuilder
RgbPixmapImageBuilderImpl
public interface PixmapImageBuilder<PX> extends BuildPixmap<PX>, Dimension.DimensionProperty, Dimension.DimensionBuilder<PixmapImageBuilder<PX>>
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty, Dimension.DimensionPropertyBuilder
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
Modifier and Type | Method | Description |
---|---|---|
default void |
setImageFile(File aImageFile) |
Sets the URL for retrieving the image data for the image property.
|
void |
setImageInputStream(InputStream aImageStream) |
Sets the
InputStream for retrieving the image data for the image
property. |
void |
setImageURL(URL aImageUrl) |
Sets the
URL for retrieving the image data for the image
property. |
default PixmapImageBuilder<PX> |
withImageFile(File aImageFile) |
Sets the
File for retrieving the image data for the image
property. |
default PixmapImageBuilder<PX> |
withImageInputStream(InputStream aImageStream) |
Sets the input stream for retrieving the image data for the image
property.
|
default PixmapImageBuilder<PX> |
withImageURL(URL aUrl) |
Sets the
URL for retrieving the image data for the image
property. |
toPixmap
withDimension, withDimension
setDimension, setDimension
getHeight
withHeight
setHeight
getWidth
withWidth
setWidth
void setImageInputStream(InputStream aImageStream)
InputStream
for retrieving the image data for the image
property.aImageStream
- The image which's InputStream
is to be stored
by the image InputStream
property.default PixmapImageBuilder<PX> withImageInputStream(InputStream aImageStream)
aImageStream
- The image which's InputStream
is to be stored
by the image InputStream
property.void setImageURL(URL aImageUrl)
URL
for retrieving the image data for the image
property.default PixmapImageBuilder<PX> withImageURL(URL aUrl)
URL
for retrieving the image data for the image
property.aUrl
- the URLdefault void setImageFile(File aImageFile) throws FileNotFoundException
aImageFile
- The image file which's InputStream
is to be
stored by the image InputStream
property.FileNotFoundException
- in case the file was not found.default PixmapImageBuilder<PX> withImageFile(File aImageFile) throws FileNotFoundException
File
for retrieving the image data for the image
property.aImageFile
- The image file which's InputStream
is to be
stored by the image InputStream
property.FileNotFoundException
- in case the file was not found.Copyright © 2018. All rights reserved.