rename ScreenPanel to DecksScreenPanel.
parent
d24cc914cb
commit
cd341ff9cf
|
@ -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)));
|
||||
|
|
|
@ -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;
|
||||
|
Loading…
Reference in New Issue