MCPcopy Create free account
hub / github.com/Kitware/VTK / componentResized

Method componentResized

Wrapping/Java/vtk/vtkCanvas.java:66–71  ·  view source on GitHub ↗
(ComponentEvent event)

Source from the content-addressed store, hash-verified

64
65 addComponentListener(new ComponentAdapter() {
66 public void componentResized(ComponentEvent event) {
67 // The Canvas is being resized, get the new size
68 int width = getWidth();
69 int height = getHeight();
70 setSize(width, height);
71 }
72 });
73
74 ren.SetBackground(0.0, 0.0, 0.0);

Callers

nothing calls this directly

Calls 1

setSizeMethod · 0.95

Tested by

no test coverage detected