MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setProperty

Method setProperty

ij/src/main/java/ij/ImagePlus.java:1774–1781  ·  view source on GitHub ↗

Adds a key-value pair to this image's properties. The key is removed from the properties table if value is null. @see #getProp @see #setProp

(String key, Object value)

Source from the content-addressed store, hash-verified

1772 * @see #setProp
1773 */
1774 public void setProperty(String key, Object value) {
1775 if (properties==null)
1776 properties = new Properties();
1777 if (value==null)
1778 properties.remove(key);
1779 else
1780 properties.put(key, value);
1781 }
1782
1783 /** Returns this image's Properties. May return null. */
1784 public Properties getProperties() {

Callers 15

setImageMethod · 0.95
setSliceMethod · 0.95
createImagePlusMethod · 0.95
copyAttributesMethod · 0.95
flattenMethod · 0.95
setMetadataMethod · 0.95
doPropertyMethod · 0.95
runMethod · 0.95
zScaleMethod · 0.95
openMethod · 0.95
runMethod · 0.95
convertStackToImagesMethod · 0.95

Calls 2

removeMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected