Package com.ardor3d.extension.ui.layout

Examples of com.ardor3d.extension.ui.layout.RowLayout


        button.setGap(10);
        button.setLayoutData(BorderLayoutData.NORTH);
        button.setTooltipText("This is a tooltip!");
        panel.add(button);

        final RowLayout rowLay = new RowLayout(false, false, false);
        final UIPanel centerPanel = new UIPanel(rowLay);
        centerPanel.setLayoutData(BorderLayoutData.CENTER);
        panel.add(centerPanel);

        final UICheckBox check1 = new UICheckBox("Hello\n(disabled)");
View Full Code Here


*/
public class UIPopupMenu extends UIFrame {

    public UIPopupMenu() {
        super(null, EnumSet.noneOf(UIFrame.FrameButtons.class));
        getContentPanel().setLayout(new RowLayout(false));
        applySkin();
    }
View Full Code Here

    public FloatingUIContainer() {
        super(null);
        setDecorated(false);
        getContentPanel().setBorder(new EmptyBorder());
        getContentPanel().setLayout(new RowLayout(false));
        setBackdrop(null);

        applySuperSkin();
    }
View Full Code Here

        // Setup our center content panel
        _center.setLayoutData(BorderLayoutData.CENTER);
        super.add(_center);

        // Create a panel that will hold our tab buttons
        final RowLayout layout = new RowLayout(_placement.isHorizontal(), false, false);
        _tabsPanel = new UIPanel(layout);
        _tabsPanel.setLayoutData(_placement.getLayoutData());
        super.add(_tabsPanel);

        applySkin();
View Full Code Here

        {
            final UISlider slider = component.getSlider();
            slider.getBackPanel().setBorder(new EmptyBorder());
            slider.setMargin(new Insets());
            slider.setPadding(new Insets());
            slider.getBackPanel().setLayout(new RowLayout(false));

            final UISliderKnob knob = slider.getKnob();
            knob.getKnobLabel().setIcon(null);
            knob.setPadding(new Insets(0, 0, 0, 0));
            knob.setMargin(new Insets());
View Full Code Here

                particleInWorld = worldCoordsCheck.isSelected();
                smoke.setParticlesInWorldCoords(particleInWorld);
            }
        });

        final UIPanel panel = new UIPanel(new RowLayout(false, true, false));
        panel.setPadding(new Insets(10, 20, 10, 20));
        panel.add(turnLabel);
        panel.add(turnSlider);
        panel.add(propelLabel);
        panel.add(propelSlider);
View Full Code Here

        button.setGap(10);
        button.setLayoutData(BorderLayoutData.NORTH);
        button.setTooltipText("This is a tooltip!");
        panel.add(button);

        final RowLayout rowLay = new RowLayout(false, false, false);
        final UIPanel centerPanel = new UIPanel(rowLay);
        centerPanel.setLayoutData(BorderLayoutData.CENTER);
        panel.add(centerPanel);

        final UICheckBox check1 = new UICheckBox("Hello\n(disabled)");
View Full Code Here

    private UIPanel makePanel() {

        final UIPanel panel = new UIPanel();
        panel.setForegroundColor(ColorRGBA.DARK_GRAY);
        panel.setLayout(new RowLayout(true));

        final UILabel staticLabel = new UILabel("Hello World");
        staticLabel.setBackdrop(new SolidBackdrop(ColorRGBA.CYAN));
        staticLabel.setLayoutData(BorderLayoutData.CENTER);
        panel.add(staticLabel);
View Full Code Here

                moveLight = rotateLight.isSelected();
                updateText();
            }
        });

        final UIPanel panel = new UIPanel(new RowLayout(false, true, false));
        panel.setPadding(new Insets(10, 20, 10, 20));
        panel.add(distLabel);
        panel.add(distSlider);
        panel.add(updateCamera);
        panel.add(rotateLight);
View Full Code Here

TOP

Related Classes of com.ardor3d.extension.ui.layout.RowLayout

Copyright © 2018 www.massapicom. 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.