Uses of Class
NTNU.IDATT1002.models.Image
| Package | Description |
|---|---|
| NTNU.IDATT1002.controllers |
Controllers providing interaction with views and services.
|
| NTNU.IDATT1002.controllers.components.explore | |
| NTNU.IDATT1002.controllers.components.exploreAlbums | |
| NTNU.IDATT1002.models |
Provides the model classes for the entities in this application.
|
| NTNU.IDATT1002.repository |
DAO classes defined as repositories for persisting data.
|
| NTNU.IDATT1002.service |
Service classes providing high level behaviour,
connecting the controllers with the business logic.
|
| NTNU.IDATT1002.utils |
Project utilities.
|
-
Uses of Image in NTNU.IDATT1002.controllers
Methods in NTNU.IDATT1002.controllers that return types with arguments of type Image Modifier and Type Method Description protected PageableService<Image>Explore. getService()Return anImageServiceto use inPaginatedContent.Method parameters in NTNU.IDATT1002.controllers with type arguments of type Image Modifier and Type Method Description javafx.scene.layout.VBoxSearch. computeRootImagesContainerChildren(javafx.collections.ObservableList<Image> listOfImages, int start, int end)Create aVBoxof imageHBoxchildren to add to a root container.java.util.List<com.lynden.gmapsfx.javascript.object.Marker>ImageMapFactory. createMarkers(java.util.List<Image> images)Create markers from given images.java.util.List<ImageRow>Explore. getContentsFrom(Page<Image> page) -
Uses of Image in NTNU.IDATT1002.controllers.components.explore
Constructors in NTNU.IDATT1002.controllers.components.explore with parameters of type Image Constructor Description ImageColumn(Image image)Create anImageColumncontaining givenImage. -
Uses of Image in NTNU.IDATT1002.controllers.components.exploreAlbums
Methods in NTNU.IDATT1002.controllers.components.exploreAlbums with parameters of type Image Modifier and Type Method Description voidAlbumHBox. replaceAlbumImageViewWith(Image image)Replace the current image preview placeholder with givenImage.voidImageHBox. replaceImageViewWith(Image image)Replace the current image placeholder with givenImage.Constructors in NTNU.IDATT1002.controllers.components.exploreAlbums with parameters of type Image Constructor Description ImageHBox(Image image)Create the HBox for a single image.ImageTextVBox(Image image)Create VBox holding the text fields of given imag. -
Uses of Image in NTNU.IDATT1002.models
Methods in NTNU.IDATT1002.models that return Image Modifier and Type Method Description ImageMetadata. getImage()Methods in NTNU.IDATT1002.models that return types with arguments of type Image Modifier and Type Method Description java.util.List<Image>Album. getImages()Methods in NTNU.IDATT1002.models with parameters of type Image Modifier and Type Method Description voidAlbum. addImage(Image image)Add given image to this album.voidMetadata. setImage(Image image)Method parameters in NTNU.IDATT1002.models with type arguments of type Image Modifier and Type Method Description voidAlbum. setImages(java.util.List<Image> images) -
Uses of Image in NTNU.IDATT1002.repository
Methods in NTNU.IDATT1002.repository that return types with arguments of type Image Modifier and Type Method Description java.util.List<Image>ImageRepository. findAllByQueryString(java.lang.String query)Find all images based on a string.java.util.List<Image>ImageRepository. findAllByUsername(java.lang.String username)Retrieves all albums of the user with the given username.java.util.Optional<Image>AlbumRepository. findPreviewImage(java.lang.Long albumId)Find a single preview image from album with given id. -
Uses of Image in NTNU.IDATT1002.service
Methods in NTNU.IDATT1002.service that return types with arguments of type Image Modifier and Type Method Description java.util.Optional<Image>ImageService. createImage(User user, java.io.File file, java.util.List<Tag> tags, java.lang.String title)Creates a new image from the input File Sets metadata to image by usingMetaDataExtractorSets a blob of image by usingImageUtilFinally sets user, path, title and tags to imagePage<Image>ImageService. findAll(PageRequest pageRequest)Retrieve paginated results specified by givenPageRequest.java.util.Optional<Image>ImageService. findById(java.lang.Long id)Retrieves a image with given idjava.util.Optional<Image>AlbumService. findPreviewImage(Album album)Find a single image as an album preview.java.util.List<Image>ImageService. getAllImages()Retrieves all images.java.util.List<Image>ImageService. getImageFromUser(User user)Finds each picture belonging to a specific user.java.util.List<Image>ImageService. searchResult(java.lang.String query)Searches images by tags and username, and merges the two list into one with all images uses removeDuplicates list to return a list with no duplicate images -
Uses of Image in NTNU.IDATT1002.utils
Methods in NTNU.IDATT1002.utils with parameters of type Image Modifier and Type Method Description static javafx.scene.image.ImageImageUtil. convertToFXImage(Image image)Convert the given domain image to a javafx image which can be displayed by a controller.static java.lang.StringImageUtil. createSmallerMarkers(Image image)Resizes and image to be suitable as markers on map.