stonedloottracker: Final fields
This commit is contained in:
@@ -161,9 +161,9 @@ public class StonedLootTrackerPlugin extends Plugin
|
|||||||
private NavigationButton navButton;
|
private NavigationButton navButton;
|
||||||
private String eventType;
|
private String eventType;
|
||||||
|
|
||||||
private Multimap<String, LootRecordCustom> lootRecordMultimap = ArrayListMultimap.create();
|
private final Multimap<String, LootRecordCustom> lootRecordMultimap = ArrayListMultimap.create();
|
||||||
private Multimap<String, UniqueItemPrepared> uniques = ArrayListMultimap.create();
|
private final Multimap<String, UniqueItemPrepared> uniques = ArrayListMultimap.create();
|
||||||
private Map<String, Integer> killCountMap = new HashMap<>();
|
private final Map<String, Integer> killCountMap = new HashMap<>();
|
||||||
|
|
||||||
// key = name, value=current killCount
|
// key = name, value=current killCount
|
||||||
private boolean loaded = false;
|
private boolean loaded = false;
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class LootGrid extends JPanel
|
|||||||
private static final int ITEMS_PER_ROW = 5;
|
private static final int ITEMS_PER_ROW = 5;
|
||||||
private static final Dimension ITEM_SIZE = new Dimension(40, 40);
|
private static final Dimension ITEM_SIZE = new Dimension(40, 40);
|
||||||
private final LootTrackerItemEntry[] itemsToDisplay;
|
private final LootTrackerItemEntry[] itemsToDisplay;
|
||||||
private ItemManager itemManager;
|
private final ItemManager itemManager;
|
||||||
|
|
||||||
LootGrid(final LootTrackerItemEntry[] itemsToDisplay, final ItemManager itemManager)
|
LootGrid(final LootTrackerItemEntry[] itemsToDisplay, final ItemManager itemManager)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ import net.runelite.client.ui.ColorScheme;
|
|||||||
@Singleton
|
@Singleton
|
||||||
class LootPanel extends JPanel
|
class LootPanel extends JPanel
|
||||||
{
|
{
|
||||||
private Collection<LootRecordCustom> records;
|
private final Collection<LootRecordCustom> records;
|
||||||
private Map<Integer, Collection<UniqueItemPrepared>> uniqueMap;
|
private final Map<Integer, Collection<UniqueItemPrepared>> uniqueMap;
|
||||||
private boolean hideUniques;
|
private final boolean hideUniques;
|
||||||
private ItemSortTypes sortType;
|
private final ItemSortTypes sortType;
|
||||||
private boolean itemBreakdown;
|
private final boolean itemBreakdown;
|
||||||
private ItemManager itemManager;
|
private final ItemManager itemManager;
|
||||||
// Consolidate LTItemEntries stored by ItemID
|
// Consolidate LTItemEntries stored by ItemID
|
||||||
private Map<Integer, LootTrackerItemEntry> consolidated;
|
private Map<Integer, LootTrackerItemEntry> consolidated;
|
||||||
|
|
||||||
|
|||||||
@@ -53,15 +53,15 @@ import net.runelite.client.ui.components.materialtabs.MaterialTabGroup;
|
|||||||
@Singleton
|
@Singleton
|
||||||
class SelectionPanel extends JPanel
|
class SelectionPanel extends JPanel
|
||||||
{
|
{
|
||||||
private TreeSet<String> names;
|
private final TreeSet<String> names;
|
||||||
private LootTrackerPanel parent;
|
private final LootTrackerPanel parent;
|
||||||
private ItemManager itemManager;
|
private final ItemManager itemManager;
|
||||||
|
|
||||||
private final static Color BACKGROUND_COLOR = ColorScheme.DARK_GRAY_COLOR;
|
private final static Color BACKGROUND_COLOR = ColorScheme.DARK_GRAY_COLOR;
|
||||||
private final static Color BUTTON_COLOR = ColorScheme.DARKER_GRAY_COLOR;
|
private final static Color BUTTON_COLOR = ColorScheme.DARKER_GRAY_COLOR;
|
||||||
private final static Color BUTTON_HOVER_COLOR = ColorScheme.DARKER_GRAY_HOVER_COLOR;
|
private final static Color BUTTON_HOVER_COLOR = ColorScheme.DARKER_GRAY_HOVER_COLOR;
|
||||||
|
|
||||||
private boolean configToggle;
|
private final boolean configToggle;
|
||||||
|
|
||||||
SelectionPanel(final boolean configToggle, final TreeSet<String> names, final LootTrackerPanel parent, final ItemManager itemManager)
|
SelectionPanel(final boolean configToggle, final TreeSet<String> names, final LootTrackerPanel parent, final ItemManager itemManager)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user