Changeset 10865 in josm for trunk/src/com/kitfox/svg/SVGUniverse.java
- Timestamp:
- 2016-08-21T03:15:12+02:00 (10 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/SVGUniverse.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGUniverse.java
r10746 r10865 131 131 132 132 /** 133 * Returns the current animation time in milliseconds.134 */135 public double getCurTime()136 {137 return curTime;138 }139 140 public void setCurTime(double curTime)141 {142 double oldTime = this.curTime;143 this.curTime = curTime;144 changes.firePropertyChange("curTime", new Double(oldTime), new Double(curTime));145 }146 147 /**148 * Updates all time influenced style and presentation attributes in all SVG149 * documents in this universe.150 */151 public void updateTime() throws SVGException152 {153 for (Iterator it = loadedDocs.values().iterator(); it.hasNext();)154 {155 SVGDiagram dia = (SVGDiagram) it.next();156 dia.updateTime(curTime);157 }158 }159 160 /**161 133 * Called by the Font element to let the universe know that a font has been 162 134 * loaded and is available.
Note:
See TracChangeset
for help on using the changeset viewer.
