mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Checkstyle updates
This commit is contained in:
@@ -4,13 +4,18 @@ import javax.swing.JPanel;
|
||||
|
||||
import forge.item.InventoryItem;
|
||||
|
||||
/**
|
||||
* Base class for any cardView panel
|
||||
/**
|
||||
* Base class for any cardView panel.
|
||||
*
|
||||
*/
|
||||
public abstract class CardPanelBase extends JPanel {
|
||||
private static final long serialVersionUID = -2230733670423143126L;
|
||||
|
||||
/**
|
||||
*
|
||||
* showCard.
|
||||
* @param card an InventoryItem
|
||||
*/
|
||||
public abstract void showCard(InventoryItem card);
|
||||
|
||||
}
|
||||
|
||||
@@ -11,11 +11,18 @@ import java.util.Map.Entry;
|
||||
*
|
||||
* @author Forge
|
||||
* @version $Id: TableSorter.java 10146 2011-09-01 18:11:00Z Max mtg $
|
||||
*
|
||||
* @param <T> extends InventoryItem
|
||||
*/
|
||||
public class TableSorterCascade<T extends InventoryItem> implements Comparator<Entry<T, Integer>> {
|
||||
private List<TableSorter<T>> sorters;
|
||||
private final int cntFields;
|
||||
|
||||
/**
|
||||
*
|
||||
* TableSorterCascade Constructor.
|
||||
* @param sortersCascade a List<TableSorter<T>>
|
||||
*/
|
||||
public TableSorterCascade(final List<TableSorter<T>> sortersCascade) {
|
||||
this.sorters = sortersCascade;
|
||||
cntFields = sortersCascade.size();
|
||||
|
||||
Reference in New Issue
Block a user