Examples of layout()


Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

        infoPanel.add(jarFilePathOnS3Label);
        infoPanel.add(this.jarFilePathOnS3TextField);
        infoPanel.add(mainClassNameLabel);
        infoPanel.add(this.mainClassNameTextField);

        infoPanel.layout(10, 2, GridPanel.WEIGHT_NONE, 1);

        GridPanel mainPanel = new GridPanel();
        mainPanel.add(infoPanel);
        mainPanel.layout(1, 1, 0, 0);
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

        infoPanel.layout(10, 2, GridPanel.WEIGHT_NONE, 1);

        GridPanel mainPanel = new GridPanel();
        mainPanel.add(infoPanel);
        mainPanel.layout(1, 1, 0, 0);

        JButton invokeButton = new JButton("Invoke");
        invokeButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                execute();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

        infoPanel.add(this.idTextField);
        infoPanel.add(statusLabel);
        infoPanel.add(this.statusTextField);
        infoPanel.add(messageLabel);
        infoPanel.add(this.messageTextArea);
        infoPanel.layout(4, 2, 3, 1);

        JButton okButton = new JButton("OK");
        okButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                hide();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

    private GridPanel createPanelWithMessage(String message){
      GridPanel gridPanel = new GridPanel();
      JLabel lblMessage = new JLabel(message, SwingConstants.CENTER);
    gridPanel.add(lblMessage);
    lblMessage.setFont(new Font("Tahoma", Font.ITALIC, 11));
      gridPanel.layout(1,1, 0,0);
      return gridPanel;
    }

    /**
     * Initializes the GUI.
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

        cmbResourceProtocol = new JComboBox(new String[]{REMOTE_PROTOCOL_STR_LOCAL,REMOTE_PROTOCOL_STR_SSH,REMOTE_PROTOCOL_STR_GLOBUS,REMOTE_PROTOCOL_STR_UNICORE,REMOTE_PROTOCOL_STR_AMAZON_EC2, REMOTE_PROTOCOL_STR_HADOOP});
        JLabel lblResourceProtocol = new JLabel("Resource Protocol");
        GridPanel pnlResourceProtocolSelection=new GridPanel();
        pnlResourceProtocolSelection.add(lblResourceProtocol);
        pnlResourceProtocolSelection.add(cmbResourceProtocol);
        pnlResourceProtocolSelection.layout(1, 2, 0, 1);
        cmbResourceProtocol.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                updateRemoteProtocolTypeAndControls();
            }
        });
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

                close();
            }
        });

        buttonPanel.add(cancelButton);
        buttonPanel.layout(1,3,SwingUtil.WEIGHT_NONE,0);
        buttonPanel.getSwingComponent().setBorder(BorderFactory.createEtchedBorder());

        getContentPane().add(infoPanel.getSwingComponent());
        getContentPane().add(buttonPanel.getSwingComponent());
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

        if (!isServiceDescriptionMode()) {
      infoPanel.add(contentPanel);
    }
        infoPanel.getSwingComponent().setBorder(BorderFactory.createEtchedBorder());
        if (isServiceDescriptionMode()) {
      infoPanel.layout(3, 1, 1, 0);
    }else{
      infoPanel.layout(3, 1, 0, 0);
    }
    getContentPane().add(infoPanel.getSwingComponent());
        getContentPane().add(buttonPane.getSwingComponent());
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.widgets.GridPanel.layout()

    }
        infoPanel.getSwingComponent().setBorder(BorderFactory.createEtchedBorder());
        if (isServiceDescriptionMode()) {
      infoPanel.layout(3, 1, 1, 0);
    }else{
      infoPanel.layout(3, 1, 0, 0);
    }
    getContentPane().add(infoPanel.getSwingComponent());
        getContentPane().add(buttonPane.getSwingComponent());
        buttonPane.getSwingComponent().setBorder(BorderFactory.createEtchedBorder());
        SwingUtil.layoutToGrid(getContentPane(), 2, 1, 0, 0);
View Full Code Here

Examples of org.apache.fop.fo.FONode.layout()

        if (containingTable!=null && containingTable.areasGenerated > 0) {
            int numChildren = this.children.size();
            for (int i = this.marker; i < numChildren; i++) {
                FONode fo = (FONode)children.get(i);
                int status;
                if (Status.isIncomplete(status = fo.layout(area))) {
                    this.marker = i;
                    return status;
                }
            }
        }
View Full Code Here

Examples of org.apache.fop.fo.flow.Flow.layout()

              + "in page-master '" + currentPageMasterName + "'");
        break;
       
    }
    else {
        status = flow.layout(bodyArea);
    }
   
            }
            MessageHandler.log("]");
            areaTree.addPage(currentPage);
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.