Examples of placeComponent()


Examples of ModalGUI.GUIPanel.placeComponent()

        "proButtons/GUI_BUILD_CHAIR_DOWN.png", gui);
    toggle.addActionListener(GLOBAL.uiTools, "toggleCentreConstraintChair",
        UITools.MOVE_OBJECT);
    gui.add(toggle);
    posY += 30;
    physicsPanel.placeComponent(toggle);
    toggle.setState(true);

    button = new GUIButton(posX, posY, "proButtons/GUI_CAMERA_MOVE_UP.png",
        "proButtons/GUI_CAMERA_MOVE_DOWN.png", gui);
    button.addActionListener(GLOBAL.uiTools, "selectTool",
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

        "proButtons/GUI_CAMERA_MOVE_DOWN.png", gui);
    button.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.MOVE_2D_TOOL);
    gui.add(button);
    posY += 30;
    physicsPanel.placeComponent(button);

    button = new GUIButton(posX, posY, "proButtons/GUI_SCALE_TOOL_UP.png",
        "proButtons/GUI_SCALE_TOOL_DOWN.png", gui);
    button.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.SCALE_TOOL);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.setLabel("brush");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    if (GLOBAL.uiTools.SketchTools.getCurrentTool() == SketchTools.DRAW_TOOL)
      toggle.toggleDown();
    toolPanel.placeComponent(toggle);

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

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.setLabel("leg");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    if (GLOBAL.uiTools.SketchTools.getCurrentTool() == SketchTools.LEG_TOOL)
      toggle.toggleDown();
    toolPanel.placeComponent(toggle);

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

Examples of ModalGUI.GUIPanel.placeComponent()

      toggle.toggleDown();
   
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;

    toolPanel.placeComponent(toggle);

    toggle = new GUIToggle(120, posY, button_width, button_height,
        "gui/sit.png", "gui/stand.png", gui);
    toggle.addActionListener(GLOBAL.uiTools, "sitStand", UITools.DRAW_TOOL);
    toggle.setLabel("sit/stand");
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

        "gui/sit.png", "gui/stand.png", gui);
    toggle.addActionListener(GLOBAL.uiTools, "sitStand", UITools.DRAW_TOOL);
    toggle.setLabel("sit/stand");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    toolPanel.placeComponent(toggle);

    toggle = new GUIToggle(120, posY, button_width, button_height,
        "gui/camera_rotate.png", gui);
    toggle.addActionListener(GLOBAL.uiTools, "autoRotate",
        UITools.DRAW_TOOL);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.addActionListener(GLOBAL.uiTools, "autoRotate",
        UITools.DRAW_TOOL);
    toggle.setLabel("rotate");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    toolPanel.placeComponent(toggle);

    GUIButton button = new GUIButton(posX, posY, button_width,
        button_height, "gui/undo.png", null, gui);
    button.addActionListener(GLOBAL.uiTools, "undo", UITools.SCALE_TOOL);
    button.setLabel("undo");
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    button.addActionListener(GLOBAL.uiTools, "undo", UITools.SCALE_TOOL);
    button.setLabel("undo");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;

    toolPanel.placeComponent(button);

    button = new GUIButton(posX, posY, button_width, button_height,
        "gui/GUI_SLICE_DELETE_BUTTON.png", null, gui);
    button.addActionListener(GLOBAL.uiTools, "deleteAllChairsFlag",
        UITools.SCALE_TOOL);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

        UITools.SCALE_TOOL);
    button.setLabel("delete");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;

    toolPanel.placeComponent(button);

    button = new GUIButton(posX, posY, button_width, button_height,
        "gui/GUI_MAKE_BUTTON.png", null, gui);
    button.addActionListener(GLOBAL.uiTools, "makeChairWindow",
        UITools.SCALE_TOOL);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

        UITools.SCALE_TOOL);
    button.setLabel("make");
    button.label.align = GUILabel.CENTRE;
    button.label.layout = GUILabel.UNDER_COMPONENT;

    toolPanel.placeComponent(button);

    /*
    button = new GUIButton(GLOBAL.windowWidth - 80, posY + 10,
        button_width, button_height, "gui/GUI_SLICE_DELETE_BUTTON.png",
        null, 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.