PX
- the generic typepublic 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
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
Modifier and Type | Method and 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
setDimension, setDimension
getWidth
setWidth
getHeight
setHeight
withDimension, withDimension
withWidth
withHeight
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 a 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.