View Javadoc
1 /***************************************************************************** 2 * Virtual Mockup for Machine Vision 3 * Copyright (C) 2001-2003 Fabio R. de Miranda, João E. Kogler Jr., 4 * Carlos S. Santos. 5 * Virtual Mockup for Machine Vision Project funded by SENAC-SP 6 * 7 * Permission is granted to redistribute and/or modify this 8 * software under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This software is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License (http://www.gnu.org/copyleft/lesser.html) 16 * for more details. 17 * 18 *****************************************************************************/ 19 20 package camera3d.event; 21 22 import camera3d.VcObject; 23 import javax.media.j3d.Node; 24 /*** 25 * <p>Title: Câmera Virtual - LIVES</p> 26 * <p>Description: Câmera Virtual para Controle via LabVIEW</p> 27 * <p>Copyright: Copyright (c) 2001</p> 28 * <p>Company: Centro de Educação em Informática - SENAC - SP</p> 29 * @author Fábio Roberto de Miranda e Carlos da Silva dos Santos 30 * @version 1.0 31 */ 32 33 /*** 34 * Event that signals that a new Node has been added to a certain VcObject. 35 */ 36 public class VcNodeAddedEvent extends VcNodeEvent { 37 38 /*** newly added Node*/ 39 Node node; 40 41 /*** 42 * Constructor 43 * @param source the VcObject to whom a new Node has been added. 44 */ 45 public VcNodeAddedEvent(Object source) { 46 super(source); 47 } 48 49 /*** 50 * Constructor 51 * @param source the VcObject to whom a new Node has been added. 52 * @param node the newly added Node. 53 */ 54 public VcNodeAddedEvent(Object source, Node node) { 55 super(source); 56 this.node = node; 57 } 58 59 /*** 60 * Sets the node property for this event 61 * @param node the Node which has been added to source object. 62 */ 63 public void setNode(Node node){ 64 this.node = node; 65 } 66 67 /*** Returns the Node which has been added to source object. 68 * @return the new Node. 69 */ 70 public Node getNode(){ 71 return this.node; 72 } 73 }

This page was automatically generated by Maven