| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| org.cb.cardboard.BoardSelectionEvent |
|
|
| 1 | // START LICENSE |
|
| 2 | // JSet - a Java JSet card board game implementation |
|
| 3 | // Copyright (C) 2004 Jerome Lacoste |
|
| 4 | // |
|
| 5 | // This program is free software; you can redistribute it and/or modify |
|
| 6 | // it under the terms of the GNU General Public License as published by |
|
| 7 | // the Free Software Foundation; either version 2 of the License, or (at |
|
| 8 | // your option) any later version. |
|
| 9 | // |
|
| 10 | // This program is distributed in the hope that it will be useful, but |
|
| 11 | // WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
| 13 | // General Public License for more details. |
|
| 14 | // |
|
| 15 | // You should have received a copy of the GNU General Public License |
|
| 16 | // along with this program; if not, write to the Free Software |
|
| 17 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
| 18 | // END LICENSE |
|
| 19 | ||
| 20 | package org.cb.cardboard; |
|
| 21 | ||
| 22 | import javax.swing.event.ListSelectionEvent; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * An event that characterizes a change in the current |
|
| 26 | * selection. |
|
| 27 | * BoardSelectionListeners will generally query the source of |
|
| 28 | * the event for the new selected status of each potentially |
|
| 29 | * changed card. |
|
| 30 | * <p> |
|
| 31 | * @author jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $ |
|
| 32 | * @version $Id: BoardSelectionEvent.java 129 2004-04-15 05:00:43Z jerome $ |
|
| 33 | * @see org.cb.cardboard.BoardSelectionModel |
|
| 34 | */ |
|
| 35 | public class BoardSelectionEvent extends ListSelectionEvent |
|
| 36 | { |
|
| 37 | /** |
|
| 38 | * Represents a change in selection status for the specified <code>indexes</code>. |
|
| 39 | * |
|
| 40 | * @param source the object that changed |
|
| 41 | * @param index the index that changed |
|
| 42 | * @param isAdjusting an indication that this is one of rapid a series of events |
|
| 43 | */ |
|
| 44 | public BoardSelectionEvent(final Object source, class="keyword">final int index, class="keyword">final boolean isAdjusting) |
|
| 45 | { |
|
| 46 | 0 | super(source, index, index, isAdjusting); |
| 47 | 0 | } |
| 48 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |