MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setSize

Method setSize

src/swingjs/api/js/DOMNode.java:204–204  ·  view source on GitHub ↗
(DOMNode node, int width, int height)

Source from the content-addressed store, hash-verified

202 }
203
204 public static DOMNode setSize(DOMNode node, int width, int height) {
205 return setStyles(node, "width", width + "px", "height", height + "px");
206 }
207

Callers 15

mainMethod · 0.65
mainMethod · 0.65
SetXMLControlTestMethod · 0.65
AssetsTestMethod · 0.65
ReleaseZipFileTestMethod · 0.65
LoaderTestMethod · 0.65
FontResizeTestMethod · 0.65
QMWignerControlMethod · 0.65
customizeMethod · 0.65
editMethod · 0.65
ClassicalInspectorMethod · 0.65
editMethod · 0.65

Calls

no outgoing calls

Tested by 7

SetXMLControlTestMethod · 0.52
AssetsTestMethod · 0.52
ReleaseZipFileTestMethod · 0.52
LoaderTestMethod · 0.52
FontResizeTestMethod · 0.52
mainMethod · 0.52
SetXMLControlTestMethod · 0.52