rename ScreenPanel to DecksScreenPanel.

master
lodici 2017-02-04 17:59:55 +00:00
parent d24cc914cb
commit cd341ff9cf
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ public class DecksScreen extends HeaderFooterScreen {
private static final String _S12 = "Deck is empty! Nothing to show.";
private static final String _S13 = "This deck is invalid.";
private final ScreenPanel screenContent;
private final DecksScreenPanel screenContent;
private final IDeckConsumer deckConsumer;
private final DeckStatusPanel deckStatusPanel;
@ -35,7 +35,7 @@ public class DecksScreen extends HeaderFooterScreen {
super(MText.get(_S1));
this.deckConsumer = deckConsumer;
deckStatusPanel = new DeckStatusPanel();
screenContent = new ScreenPanel(deckStatusPanel);
screenContent = new DecksScreenPanel(deckStatusPanel);
setMainContent(screenContent);
setHeaderContent(deckStatusPanel);
setLeftFooter(MenuButton.getCloseScreenButton(MText.get(_S2)));

View File

@ -14,7 +14,7 @@ import magic.utility.DeckUtils;
import net.miginfocom.swing.MigLayout;
@SuppressWarnings("serial")
class ScreenPanel extends JPanel implements IDeckConsumer {
class DecksScreenPanel extends JPanel implements IDeckConsumer {
private MagicDeck selectedDeck = null;
private Path deckFilePath = null;
@ -24,7 +24,7 @@ class ScreenPanel extends JPanel implements IDeckConsumer {
private final DeckStatusPanel deckStatusPanel;
private final SidebarPanel sidebar;
ScreenPanel(DeckStatusPanel deckStatusPanel) {
DecksScreenPanel(DeckStatusPanel deckStatusPanel) {
this.deckStatusPanel = deckStatusPanel;