Examples of updateSize()


Examples of DisplayProject.RadioList.updateSize()

    if (this._component instanceof RadioList) {
      RadioList rl = (RadioList)this._component;
      rl.setCaption(this.caption);

      // CraigM:26/08/2008 - If we add or remove a caption, this affects the size of the radio list
      rl.updateSize();
    }
    else if (this._component != null) {
      // CraigM:23/07/2008 - Changed to JComponent as a JScrollPane can have captions too
      JComponent panel = (JComponent)this._component;
      panel.putClientProperty("qq_caption", this.caption.toString());
View Full Code Here

Examples of DisplayProject.RadioList.updateSize()

    if (this._component instanceof RadioList) {
      RadioList rl = (RadioList)this._component;
      rl.setCaption(this.caption);

      // CraigM:26/08/2008 - If we add or remove a caption, this affects the size of the radio list
      rl.updateSize();
    }
    else if (this._component != null) {
      // CraigM:23/07/2008 - Changed to JComponent as a JScrollPane can have captions too
      JComponent panel = (JComponent)this._component;
      panel.putClientProperty("qq_caption", this.caption.toString());
View Full Code Here

Examples of com.lightcrafts.ui.export.SaveOptions.updateSize()

            if (export.resizeWidth.getValue() == 0 &&
                export.resizeHeight.getValue() == 0
            ) {
                Engine engine = doc.getEngine();
                Dimension size = engine.getNaturalSize();
                options.updateSize(size);
            }
            options.setFile(file);
        }
        return options;
    }
View Full Code Here

Examples of lupos.gui.operatorgraph.visualeditor.visualrif.guielements.operatorPanel.PrefixOperatorPanel.updateSize()

          pop.addComponentListener(new ComponentAdapter() {

            @Override
            public void componentResized(final ComponentEvent e) {

              pop.updateSize();
            }

          });

        } // End Prefix
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.ChoiceDialog.updateSize()

            alpha = 0;
            ChoiceDialog dlg = new ChoiceDialog(params, "Choose");
            add(dlg);
            //GameManager.getManager().setCurrentChoiceDlg(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            dlg.updateSize(params.rect.width - 80, params.rect.height - 80);

        } else if (dialogType == DialogManager.MTGDialogs.GraveDialog) {

            backgroundColor = new Color(0, 0, 0, 110);
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.ChoiceDialog.updateSize()

            alpha = 0;
            ChoiceDialog dlg = new ChoiceDialog(params, "Graveyard");
            add(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            dlg.updateSize(params.rect.width - 80, params.rect.height - 80);

        } else if (dialogType == DialogManager.MTGDialogs.ExileDialog) {

            backgroundColor = new Color(250, 250, 250, 50);
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.ChoiceDialog.updateSize()

            alpha = 0;
            ChoiceDialog dlg = new ChoiceDialog(params, "Exile");
            add(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            dlg.updateSize(params.rect.width - 80, params.rect.height - 80);

        } else if (dialogType == DialogManager.MTGDialogs.EmblemsDialog) {

            backgroundColor = new Color(0, 0, 50, 110);
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.ChoiceDialog.updateSize()

            alpha = 0;
            ChoiceDialog dlg = new ChoiceDialog(params, "Command Zone (Commander and Emblems)");
            add(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            dlg.updateSize(params.rect.width - 80, params.rect.height - 80);

        } /*else if (dialogType == DialogManager.MTGDialogs.GraveDialog) {
            backgroundColor = new Color(20, 20, 20, 120);
            alpha = 0;
            GraveDialog dlg = new GraveDialog(params);
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.StackDialog.updateSize()

            add(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            //int width = Math.min(params.rect.width - 80, 600);
            int width = params.rect.width;
            int height = params.rect.height - 80;
            dlg.updateSize(width, height);
        }
        /*
        else if (dialogType == DialogManager.MTGDialogs.CombatDialog) {
            backgroundColor = new Color(0, 0, 0, 60);
            alpha = 0;
View Full Code Here

Examples of mage.client.components.ext.dlg.impl.StackDialog.updateSize()

            alpha = 0;
            ChoiceDialog dlg = new ChoiceDialog(params, "Choose");
            add(dlg);
            //GameManager.getManager().setCurrentChoiceDlg(dlg);
            dlg.setLocation(X_OFFSET + 10, Y_OFFSET + 10);
            dlg.updateSize(params.rect.width - 80, params.rect.height - 80);

        } else if (dialogType == DialogManager.MTGDialogs.GraveDialog) {

            backgroundColor = new Color(0, 0, 0, 110);
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.