Displays the provided image information.<p>

@param imageInfo the image information
@param imageAttributes the image attributes
@param initialFill flag to indicate that a new image has been selected
431040
public void fillContent(CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill) {

        for (Entry<Attribute, I_CmsFormWidget> entry : m_fields.entrySet()) {
            String val = imageAttributes.getString(entry.getKey().name());
            if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(val)) {
                if ((entry.getKey() == Attribute.linkPath) && val.startsWith(CmsCoreProvider.get().getVfsPrefix())) {
                    entry.getValue().setFormValueAsString(val.substring(CmsCoreProvider.get().getVfsPrefix().length()));
                } else {
                    entry.getValue().setFormValueAsString(val);
                }
            }
        }
    }
1330875
protected void initFileInfo() {

        try {
            // edit an existing user, get the user object from db
            m_path = getParamResource();
            m_title = getCms().readPropertyObject(m_path, CmsPropertyDefinition.PROPERTY_TITLE, false).getValue("-");
        } catch (CmsException e) {
            // should never happen
        }
    }
968082
public void setImageUrl(final String imageUrl) {
		ImageModel model = getOrCreateComponentModel();
		model.imageUrl = imageUrl;
		model.image = null;
	}
531214
public void setImage(ImagePyramid<InputImage> image ) {
		this.image = image;
		this.derivX = null;
		this.derivY = null;
	}
1048794
public void init(Object obj)
    {
        for (int i = 0; i < MAX_ICONS; i++)
        {
            ImageIcon icon = this.getImageIcon(i);
            if (icon == null)
                break;
            this.addIcon(icon, i);
        }
    }
710094
protected void resetValue(Attribute attribute) {

        String initValue = "";
        if (m_initialImageAttributes.containsKey(attribute.name())) {
            initValue = m_initialImageAttributes.getString(attribute.name());
        }
        if (m_fields.containsKey(attribute)) {
            m_fields.get(attribute).setFormValueAsString(initValue);
        }
    }
330882
public void setImage(BufferedImage img) {
        this.img = img;
        Dimension dim;
        if (img != null) {
            dim = new Dimension(img.getWidth(), img.getHeight());
        } else {
            dim = new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT);
        }

        setSize(dim);
        setPreferredSize(dim);
        repaint();
    }
542531
public void setImage(Image image) {
        column.setText(null);
        table = null;
        this.image = image;
    }
942824
public static ImgMetadata getImgInfo(BufferedImage image) {
        ImgMetadata imgMetadata = new ImgMetadata();
        imgMetadata.setHeight(image.getHeight());
        imgMetadata.setWidth(image.getWidth());
        imgMetadata.setPixelSize(image.getColorModel().getPixelSize());
        imgMetadata.setAlpha(image.getColorModel().hasAlpha());
        return imgMetadata;
    }
1327519
public static <IMAGE extends ImageView> void doLoadImageUrl(@NonNull IMAGE view, @Nullable String url) {
        Preconditions.checkState(sImageSetter != null, "ImageSetter must be initialized before calling image load");
        sImageSetter.doLoadImageUrl(view, url);
    }
903866
public void setImage(final Image image) {
		ButtonModel model = getOrCreateComponentModel();
		model.image = image;
		model.imageUrl = null;
	}
677369
public void setImageUrl(final String imageUrl) {
		LinkModel model = getOrCreateComponentModel();
		model.imageUrl = imageUrl;
		model.image = null;
	}
813662
void initializeRandomAttributes(SimpleTypeInformation<V> in) {
    int d = ((VectorFieldTypeInformation<V>) in).getDimensionality();
    selectedAttributes = BitsUtil.random(k, d, rnd.getSingleThreadedRandom());
  }
705322
function info(buf, cb) {
  setTimeout(() => {
    const info = (0, _imageinfo2.default)(buf);
    if (!info) {
      cb(new Error('Cannot get image info'));
    } else {
      cb(null, {
        type: info.type,
        mimeType: info.mimeType,
        extension: info.format.toLowerCase(),
        width: info.width,
        height: info.height
      });
    }
  }, 0);
}
1110038
public void fillContent(CmsImageInfoBean imageInfo) {

        String viewLink = imageInfo.getViewLink() != null
        ? imageInfo.getViewLink()
        : CmsCoreProvider.get().link(imageInfo.getResourcePath());
        CmsCroppingDialog croppingDialog = new CmsCroppingDialog(viewLink);
        m_handler.getGalleryDialog().getParentPanel().add(croppingDialog);
        CmsImageFormatHandler formatHandler = new CmsImageFormatHandler(
            getDialogMode(),
            m_handler.getGalleryDialog(),
            imageInfo.getSelectedPath(),
            imageInfo.getHeight(),
            imageInfo.getWidth());
        CmsImageFormatsForm formatsForm = new CmsImageFormatsForm(formatHandler);
        formatHandler.init(formatsForm, croppingDialog);
        m_handler.setFormatHandler(formatHandler);
        m_content.clear();
        m_content.add(formatsForm);
    }
499371
private void updateImageInfo() {

        String crop = getCrop();
        String point = getPoint();
        m_imageInfoDisplay.fillContent(m_info, crop, point);
    }
854689
private void init() {

        m_height = -1;
        m_width = -1;
        m_maxHeight = -1;
        m_maxWidth = -1;
        m_type = 0;
        m_position = 0;
        m_renderMode = 0;
        m_quality = 0;
        m_cropX = -1;
        m_cropY = -1;
        m_cropHeight = -1;
        m_cropWidth = -1;
        m_color = Color.WHITE;
        m_filters = new ArrayList<String>();
        m_maxBlurSize = CmsImageLoader.getMaxBlurSize();
        m_isOriginalScaler = false;
    }