- Formatting CardPicturePanel.

This commit is contained in:
Agetian
2017-07-15 18:10:44 +00:00
parent 87a13246f1
commit e85975a8a2

View File

@@ -15,7 +15,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package forge.gui; package forge.gui;
import java.awt.BorderLayout; import java.awt.BorderLayout;
@@ -45,7 +44,10 @@ import forge.toolbox.imaging.FImageUtil;
* *
*/ */
public final class CardPicturePanel extends JPanel implements ImageFetcher.Callback { public final class CardPicturePanel extends JPanel implements ImageFetcher.Callback {
/** Constant <code>serialVersionUID=-3160874016387273383L</code>. */
/**
* Constant <code>serialVersionUID=-3160874016387273383L</code>.
*/
private static final long serialVersionUID = -3160874016387273383L; private static final long serialVersionUID = -3160874016387273383L;
private Object displayed; private Object displayed;
@@ -68,6 +70,7 @@ public final class CardPicturePanel extends JPanel implements ImageFetcher.Callb
public void setCard(final CardStateView c) { public void setCard(final CardStateView c) {
setCard(c, true); setCard(c, true);
} }
public void setCard(final CardStateView c, final boolean mayView) { public void setCard(final CardStateView c, final boolean mayView) {
setImage(c, mayView); setImage(c, mayView);
} }