Examples of BigCard


Examples of mage.client.cards.BigCard

    }
   
    public void initComponents() {
        jPanel1 = new javax.swing.JPanel();
        jPanel1.setOpaque(false);
        bigCard = new BigCard();
        BoxLayout boxlayout = new BoxLayout(jPanel1, BoxLayout.PAGE_AXIS);
        jPanel1.setLayout(boxlayout);
        btnExit = new javax.swing.JButton();
        btnExit.setAlignmentX(Component.LEFT_ALIGNMENT);
        jPanel1.add(btnExit);
View Full Code Here

Examples of mage.client.cards.BigCard

                        }
                        if (image == null) {
                            image = mageCard.getImage();
                        }
                        // shows the card in the popup Container
                        BigCard bigCard = (BigCard)cardPreviewPane;
                        displayCardInfo(mageCard, image, bigCard);


                    } else {
                        logger.warn("No Card preview Pane in Mage Frame defined. Card: " + cardView.getName());
View Full Code Here

Examples of mage.client.cards.BigCard

        // preview panel normal
        JPanel cardPreviewContainer = new JPanel();
        cardPreviewContainer.setOpaque(false);
        cardPreviewContainer.setLayout(null);
        BigCard bigCard = new BigCard();
        bigCard.setSize(320, 500);
        bigCard.setLocation(40, 40);
        bigCard.setBackground(new Color(0, 0, 0, 0));

        cardPreviewContainer.add(bigCard);
        cardPreviewContainer.setVisible(false);
        cardPreviewContainer.setBounds(0, 0, 320 + 80, 500 + 30);

        ui.addComponent(MageComponents.CARD_PREVIEW_PANE, bigCard);
        ui.addComponent(MageComponents.CARD_PREVIEW_CONTAINER, cardPreviewContainer);

        desktopPane.add(cardPreviewContainer, JLayeredPane.POPUP_LAYER);

        // preview panel rotated
        JPanel cardPreviewContainerRotated = new JPanel();
        cardPreviewContainerRotated.setOpaque(false);
        cardPreviewContainerRotated.setLayout(null);
        bigCard = new BigCard(true);
        bigCard.setSize(500, 350);
        bigCard.setLocation(40, 40);
        bigCard.setBackground(new Color(0, 0, 0, 0));
        cardPreviewContainerRotated.add(bigCard);
        cardPreviewContainerRotated.setVisible(false);
        cardPreviewContainerRotated.setBounds(0, 0, 500 + 80, 420 + 30);

        ui.addComponent(MageComponents.CARD_PREVIEW_PANE_ROTATED, bigCard);
View Full Code Here

Examples of org.mage.plugins.rating.ui.BigCard

    int h = getGraphicsConfiguration().getBounds().height;
    setLocation((w - width) / 2, (h - height) / 2);
    setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    setLayout(null);

    bigCard = new BigCard();
    bigCard.setBounds(20, 10, RateThread.bigCardDimension.frameWidth, RateThread.bigCardDimension.frameHeight);
    bigCard.setBorder(BorderFactory.createLineBorder(Color.gray));
    add(bigCard);

    JLabel label = new JLabel("The results are stored for every 10 compare.");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.