Lines Matching refs:events

83      * events that comprise the gesture({@code evs} parameter).
90 * @param evs The <code>List</code> of events that comprise the gesture
110 throw new IllegalArgumentException("null or empty list of events");
119 events = evs;
163 * Returns an <code>Iterator</code> for the events
166 * @return an Iterator for the events comprising the gesture
169 public Iterator<InputEvent> iterator() { return events.iterator(); }
173 * events comprising the drag gesture.
175 * @return an array of the events comprising the gesture
178 public Object[] toArray() { return events.toArray(); }
181 * Returns an array of the events comprising the drag gesture.
185 * @return an array of the events comprising the gesture
188 public Object[] toArray(Object[] array) { return events.toArray(array); }
297 * gesture events if and only if the <code>List</code> can be serialized.
300 * stream will contain an empty <code>List</code> of gesture events.
310 s.writeObject(SerializationTester.test(events) ? events : null);
317 * <code>List</code> of gesture events as well. This is first attempted
318 * by deserializing the field <code>events</code>, because, in releases
320 * <code>List</code> of gesture events. If this fails, the next object in
322 * <code>null</code>, this object's <code>List</code> of gesture events
337 // Pre-1.4 support. 'events' was previously non-transient
339 events = (List)f.get("events", null);
341 // 1.4-compatible byte stream. 'events' was written explicitly
342 events = (List)s.readObject();
345 // Implementation assumes 'events' is never null.
346 if (events == null) {
347 events = Collections.EMPTY_LIST;
355 private transient List events;