Class Image

    • Constructor Detail

      • Image

        public Image()
        Default constructor.
      • Image

        public Image​(ImageModel imageModel)
        Image model constructor.
        Parameters:
        imageModel - The component image model.
        Throws:
        java.lang.NullPointerException - if the given image model is null.
      • Image

        public Image​(InfoModel infoModel,
                     ImageModel imageModel)
        Info model and image model constructor.
        Parameters:
        infoModel - The component info model.
        imageModel - The component image model.
        Throws:
        java.lang.NullPointerException - if the given info model and/or image model is null.
      • Image

        public Image​(java.net.URI imageURI)
        Image URI constructor.
        Parameters:
        imageURI - The image URI, which may be a resource URI, or null if there is no image URI.
      • Image

        public Image​(java.net.URI imageURI,
                     java.lang.String label)
        Image URI and label constructor.
        Parameters:
        imageURI - The image URI, which may be a resource URI, or null if there is no image URI.
        label - The text of the label, or null if there should be no label.