Home
last modified time | relevance | path

Searched refs:component3D (Results 1 – 3 of 3) sorted by relevance

/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/swing/
H A DModelPreviewComponent.java124 private Component component3D; field in ModelPreviewComponent
204 if (this.component3D != null) { in addMouseMotionListener()
220 if (this.component3D != null) { in addMouseListener()
262 if (component3D == null) { in addAncestorListener()
278 component3D = null; in addAncestorListener()
330 this.component3DPanel.add(this.component3D); in createComponent3D()
331 this.component3D.setFocusable(false); in createComponent3D()
357 if (this.component3D instanceof Canvas3D) { in getCanvas3D()
358 return (Canvas3D)this.component3D; in getCanvas3D()
359 } else if (this.component3D != null) { in getCanvas3D()
[all …]
H A DHomeComponent3D.java361 if (component3D == null) { in addAncestorListener()
392 if (component3D != null) { in addAncestorListener()
403 component3D = null; in addAncestorListener()
559 if (this.component3D != null) { in setVisible()
767 this.component3D.repaint(); in setNavigationPanelVisible()
779 Rectangle imageSize = new Rectangle(this.component3D.getX(), this.component3D.getY()); in updateNavigationPanelImage()
1065 if (this.component3D != null) { in updateView()
1066 updateView(view, camera, this.component3D.getWidth(), this.component3D.getHeight()); in updateView()
1601 component3D.repaint(); in addMouseListeners()
1773 if (this.component3D != null) { in addMouseMotionListener()
[all …]
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/test/com/eteks/sweethome3d/junit/
H A DHomeCameraTest.java88 HomeComponent3D component3D = (HomeComponent3D)TestUtilities.findComponent( in testHomeCamera() local
134 assertTrue("3D component doesn't have the focus", component3D.isFocusOwner()); in testHomeCamera()
242 tester.actionMousePress(component3D, new ComponentLocation(new Point(10, 10))); in testHomeCamera()
244 tester.actionMouseMove(component3D, new ComponentLocation(new Point(10, 20))); in testHomeCamera()
252 tester.actionMousePress(component3D, new ComponentLocation(new Point(10, 20))); in testHomeCamera()
253 tester.actionMouseMove(component3D, new ComponentLocation(new Point(20, 20))); in testHomeCamera()
260 tester.actionMousePress(component3D, new ComponentLocation(new Point(20, 20))); in testHomeCamera()
261 tester.actionMouseMove(component3D, new ComponentLocation(new Point(20, 30))); in testHomeCamera()