equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
44 * |
44 * |
45 * @param <E> the type of the elements of this model |
45 * @param <E> the type of the elements of this model |
46 * |
46 * |
47 * @author Hans Muller |
47 * @author Hans Muller |
48 */ |
48 */ |
|
49 @SuppressWarnings("serial") // Same-version serialization only |
49 public abstract class AbstractListModel<E> implements ListModel<E>, Serializable |
50 public abstract class AbstractListModel<E> implements ListModel<E>, Serializable |
50 { |
51 { |
51 protected EventListenerList listenerList = new EventListenerList(); |
52 protected EventListenerList listenerList = new EventListenerList(); |
52 |
53 |
53 |
54 |