mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Formatting CardPicturePanel.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user