/* * Copyright 2006 Phidgets Inc. All rights reserved. */ package com.phidgets.event; import com.phidgets.Phidget; /** * This class represents the data for a RawDataEvent. * * @author Phidgets Inc. */ public class RawDataEvent { Phidget source; int[] data; /** * Class constructor. This is called internally by the phidget library when creating this event. * * @param source the Phidget object from which this event originated */ public RawDataEvent(Phidget source, int[] data) { this.source = source; this.data = new int[data.length]; for(int i=0;i