From 998af5071c235135f03e5349f242b71dc87599a3 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Thu, 5 Jun 2014 12:28:35 +0200 Subject: Clean getters --- src/esieequest/ui/rich/app/Layout.java | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'src') diff --git a/src/esieequest/ui/rich/app/Layout.java b/src/esieequest/ui/rich/app/Layout.java index 316c0a5..34c5596 100644 --- a/src/esieequest/ui/rich/app/Layout.java +++ b/src/esieequest/ui/rich/app/Layout.java @@ -22,6 +22,7 @@ import javax.swing.JTextPane; import javax.swing.KeyStroke; import javax.swing.border.EmptyBorder; +import lombok.AccessLevel; import lombok.Getter; import esieequest.engine.commands.Command; import esieequest.game.Text; @@ -32,73 +33,48 @@ import esieequest.game.map.Orientation; * * @author Pacien TRAN-GIRARD */ +@Getter public class Layout { + @Getter(AccessLevel.NONE) private final AppInterface appInterface; - @Getter private JPanel mainPanel; - @Getter private JTextPane questTextPane; - @Getter private JLabel imageLabel; - @Getter private JPanel menuPanel; - @Getter private JPanel questPanel; - @Getter private JPanel gamePanel; - @Getter private JButton newButton; - @Getter private JButton soundButton; - @Getter private JPanel filePanel; - @Getter private JButton loadButton; - @Getter private JButton saveButton; - @Getter private JPanel imagePanel; - @Getter private JPanel userPanel; - @Getter private JPanel dispPanel; - @Getter private JPanel consolePanel; - @Getter private JPanel inventoryPanel; - @Getter private JPanel controlPanel; - @Getter private JPanel topControlPanel; - @Getter private JPanel bottomControlPanel; - @Getter private JTextPane infoTextPane; - @Getter private JTextField inputField; - @Getter private JButton forwardButton; - @Getter private JButton inventoryButton; - @Getter private JButton actionButton; - @Getter private JButton backButton; - @Getter private JButton leftButton; - @Getter private JButton rightButton; /** -- cgit v1.2.3