Package com.luciad.panorama.model
Class TLcdPanorama.Builder
java.lang.Object
com.luciad.panorama.model.TLcdPanorama.Builder
- Enclosing class:
TLcdPanorama
Builder class for
TLcdPanorama objects.- Since:
- 2020.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a new TLcdPanorama with the current parameters of this builder.dataObject(ILcdDataObject aDataObject) Set theILcdDataObjectthat will be the base object for the panorama.dataType(TLcdDataType aDataType) Set theTLcdDataTypefor the panorama.image(ILcdPanoramicImage aImage) Add the given image to the collection of images for the panoramaimage(Supplier<ILcdPanoramicImage> aImage) Add the given supplier to the collection of images for the panoramaimages(Collection<ILcdPanoramicImage> aImages) Add the given collection of images to the collection of images for the panorama.Set the location.
-
Method Details
-
dataType
Set theTLcdDataTypefor the panorama.- Parameters:
aDataType- the dataType- Returns:
- this builder
-
dataObject
Set theILcdDataObjectthat will be the base object for the panorama.When
build()is called after a data object is set, then the panorama will have theTLcdDataTypeof this object, as well as allvaluesof the object.- Parameters:
aDataObject- the base data object for the panorama- Returns:
- this builder
-
location
Set the location.- Parameters:
aLocation- the location- Returns:
- this builder
-
image
Add the given image to the collection of images for the panorama- Parameters:
aImage- the image to add- Returns:
- this builder
-
images
Add the given collection of images to the collection of images for the panorama.- Parameters:
aImages- the images to add- Returns:
- this builder
-
image
Add the given supplier to the collection of images for the panorama- Parameters:
aImage- the supplier to add- Returns:
- this builder
-
build
Build a new TLcdPanorama with the current parameters of this builder.- Returns:
- a new TLcdPanorama
-