Changeset 14328 in josm for trunk/src/com/kitfox/svg/SVGUniverse.java
- Timestamp:
- 2018-10-14T15:15:50+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGUniverse.java
r11525 r14328 105 105 XMLReader cachedReader; 106 106 107 //If true, <imageSVG> elements will only load image data that is included using inline data: uris 108 private boolean imageDataInlineOnly = false; 109 107 110 /** 108 111 * Creates a new instance of SVGUniverse … … 130 133 loadedFonts.clear(); 131 134 loadedImages.clear(); 135 } 136 137 /** 138 * Returns the current animation time in milliseconds. 139 */ 140 public double getCurTime() 141 { 142 return curTime; 143 } 144 145 public void setCurTime(double curTime) 146 { 147 double oldTime = this.curTime; 148 this.curTime = curTime; 149 changes.firePropertyChange("curTime", new Double(oldTime), new Double(curTime)); 150 } 151 152 /** 153 * Updates all time influenced style and presentation attributes in all SVG 154 * documents in this universe. 155 */ 156 public void updateTime() throws SVGException 157 { 158 for (SVGDiagram dia : loadedDocs.values()) { 159 dia.updateTime(curTime); 160 } 132 161 } 133 162 … … 648 677 return universe; 649 678 } 679 680 /** 681 * @return the imageDataInlineOnly 682 */ 683 public boolean isImageDataInlineOnly() 684 { 685 return imageDataInlineOnly; 686 } 687 688 /** 689 * @param imageDataInlineOnly the imageDataInlineOnly to set 690 */ 691 public void setImageDataInlineOnly(boolean imageDataInlineOnly) 692 { 693 this.imageDataInlineOnly = imageDataInlineOnly; 694 } 650 695 }
Note:
See TracChangeset
for help on using the changeset viewer.