MCPcopy Index your code
hub / github.com/OpenSourcePhysics/osp / setProperty

Method setProperty

src/swingjs/api/js/HTML5Video.java:176–176  ·  view source on GitHub ↗

Set a property of the the HTML5 video element using jsvideo[key] = value. Numbers and Booleans will be unboxed. @param jsvideo the HTML5 video element @param key @param value

(HTML5Video jsvideo, String key, Object value)

Source from the content-addressed store, hash-verified

174 * @param value
175 */
176 public static void setProperty(HTML5Video jsvideo, String key, Object value) {
177 if (value instanceof Number) {
178 /** @j2sNative jsvideo[key] = +value; */
179 } else if (value instanceof Boolean) {

Callers 14

Test_VideoMethod · 0.95
resetAnimationMethod · 0.65
stepAnimationMethod · 0.65
runAnimationMethod · 0.65
resetAnimationMethod · 0.65
runMethod · 0.65
resetAnimationMethod · 0.65
stepAnimationMethod · 0.65
runAnimationMethod · 0.65
windowClosingMethod · 0.65
resetSimulationMethod · 0.65
calculationDoneMethod · 0.65

Calls

no outgoing calls

Tested by 1

Test_VideoMethod · 0.76