Examples of layout()


Examples of com.google.gwt.layout.client.Layout.layout()

    // Stack the two children vertically, meeting at 50%.
    topLayer.setLeftRight(0, PX, 0, PX);
    bottomLayer.setLeftRight(0, PX, 0, PX);
    topLayer.setTopHeight(0, PCT, 50, PCT);
    bottomLayer.setBottomHeight(0, PCT, 50, PCT);
    layout.layout();

    // Update the two children to stack horizontally, meeting at 10em.
    // Also have them animate for 500ms.
    topLayer.setTopBottom(0, PX, 0, PX);
    bottomLayer.setTopBottom(0, PX, 0, PX);
View Full Code Here

Examples of com.kitfox.svg.Marker.MarkerLayout.layout()

        }

        if (markerStart != null || markerMid != null || markerEnd != null)
        {
            MarkerLayout layout = new MarkerLayout();
            layout.layout(shape);
           
            ArrayList list = layout.getMarkerList();
            for (int i = 0; i < list.size(); ++i)
            {
                MarkerPos pos = (MarkerPos)list.get(i);
View Full Code Here

Examples of com.samskivert.swing.Label.layout()

        label.setStyle(Label.OUTLINE);
        label.setTextColor(c);
        label.setAlternateColor(Color.BLACK);
        label.setFont(font);
        label.setAlignment(Label.CENTER);
        label.layout(host);
        return label;
    }
}
View Full Code Here

Examples of com.sun.star.wizards.report.IReportBuilderLayouter.layout()

    public void liveupdate_changeLayoutTemplate(String LayoutTemplatePath/*, String BitmapPath*/)
    {
        /* Right Listbox */
        final IReportBuilderLayouter aLayouter = getReportBuilderLayouter();
        aLayouter.loadAndSetBackgroundTemplate(LayoutTemplatePath);
        aLayouter.layout();
    }

    /**
     * Change the current Layouter by a new one with the given Name _sName.
     * If there exist no other layouter with the given name, nothing happens, the layouter will not change to
View Full Code Here

Examples of com.vaadin.client.ui.SimpleManagedLayout.layout()

                            if (Profiler.isEnabled()) {
                                key = "layout() for " + Util.getSimpleName(rr);
                                Profiler.enter(key);
                            }

                            rr.layout();
                            layoutCount++;

                            if (Profiler.isEnabled()) {
                                Profiler.leave(key);
                            }
View Full Code Here

Examples of com.vaadin.client.ui.SimpleManagedLayout.layout()

                            if (Profiler.isEnabled()) {
                                key = "layout() for " + Util.getSimpleName(rr);
                                Profiler.enter(key);
                            }

                            rr.layout();
                            layoutCount++;

                            if (Profiler.isEnabled()) {
                                Profiler.leave(key);
                            }
View Full Code Here

Examples of diva.graph.layout.GlobalLayout.layout()

        private class LayoutActionListener implements
                java.awt.event.ActionListener {
            public void actionPerformed(ActionEvent e) {
                String name = (String) _layoutList.getSelectedItem();
                GlobalLayout l = (GlobalLayout) _nameMap.get(name);
                l.layout(_graph);
            }
        }
    }
}
View Full Code Here

Examples of diva.graph.layout.LevelLayout.layout()

        bgc.setGraphModel(model);

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                LevelLayout random = new LevelLayout(new BasicLayoutTarget(bgc));
                random.layout(model.getRoot());
            }
        });
    }

    /**
 
View Full Code Here

Examples of diva.graph.layout.RandomLayout.layout()

    public void bogusLayout(MutableGraphModel model, AppContext context) {
        BasicGraphController gc = new BasicGraphController();
        context.getContentPane().add(new JGraph(new GraphPane(gc, model)));

        RandomLayout random = new RandomLayout(new BasicLayoutTarget(gc));
        random.layout(model.getRoot());
    }

    /**
     * In this version you construct the graph widget with
     * the model, and apply a layout to the graph once
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gui.GridPanel.layout()

        XBayaLabel memoLabel = new XBayaLabel("Memo", this.memoTextArea);

        GridPanel gridPanel = new GridPanel();
        gridPanel.add(memoLabel);
        gridPanel.add(this.memoTextArea);
        gridPanel.layout(1, 2, 0, 1);

        JButton okButton = new JButton("OK");
        okButton.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                setInput();
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.