相关代码 |
|
package org.j3de.behavior; import java.util.EventObject; import javax.media.j3d.Node; import javax.media.j3d.PickShape; public class FocusEvent extends EventObject { private PickShape pickShape; public FocusEvent(Node source, PickShape pickShape) { super(source); this.pickShape = pickShape; } public Node getNode() { return (Node)getSource(); } public PickShape getPickShape() { return pickShape; } }