Examples of placeComponent()


Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.SLICES_GROUP_SLICES);
    toggle.setLabel("slice" + '\n' + "group");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    slicesPanel.placeComponent(toggle);

    toggle = new GUIToggle(posX, posY, button_width, button_height,
        "gui/GUI_SLICE_SLAT_BUTTON.png", gui);
    toggle.setComponentSet(GLOBAL.toggleSetSlices);
    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.SLICES_SINGLE_SLAT);
    toggle.setLabel("slat");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    slicesPanel.placeComponent(toggle);

    toggle = new GUIToggle(posX, posY, button_width, button_height,
        "gui/GUI_SLICE_SLAT_BUTTON.png", gui);
    toggle.setComponentSet(GLOBAL.toggleSetSlices);
    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.SLICES_SLATSLICE_GROUP);
    toggle.setLabel("slatSlice" + '\n' + "group");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    slicesPanel.placeComponent(toggle);

    GLOBAL.slicesWidget = new WidgetSlices(250, 0, 300, panelHeight, gui);
    GLOBAL.slicesWidget.setupButtons();
    slicesPanel.add(GLOBAL.slicesWidget);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    button.addActionListener(GLOBAL.uiTools, "savePDF",
        UITools.VIEW_SHAPE_PACK);
    button.setLabel("save pdf");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;
    toolPanel.placeComponent(button);

    button = new GUIButton(0, 0, button_width, button_height,
        "gui/print.png", null, gui);
    button.addActionListener(GLOBAL.uiTools, "print",
        UITools.VIEW_SHAPE_PACK);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    button.addActionListener(GLOBAL.uiTools, "print",
        UITools.VIEW_SHAPE_PACK);
    button.setLabel("print");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;
    toolPanel.placeComponent(button);

    button = new GUIButton(0, 0, button_width, button_height,
        "gui/plot.png", null, gui);
    button.addActionListener(GLOBAL.uiTools, "saveCraftRobo",
        UITools.VIEW_SHAPE_PACK);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    button.addActionListener(GLOBAL.uiTools, "saveCraftRobo",
        UITools.VIEW_SHAPE_PACK);
    button.setLabel("plot");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;
    toolPanel.placeComponent(button);
   
    // materials
    GLOBAL.widgetMaterials =  new WidgetMaterials(0f, GLOBAL.windowHeight
        - panelHeight, (int) panelWidth, (int) panelHeight, gui);
   
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.