Examples of placeComponent()


Examples of ModalGUI.GUIPanel.placeComponent()

    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.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()


    if (GLOBAL.uiTools.SketchTools.getCurrentTool() == SketchTools.SELECT_TOOL)
      toggle.toggleDown();
   
    toolPanel.placeComponent(toggle);

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

Examples of ModalGUI.GUIPanel.placeComponent()

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

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

Examples of ModalGUI.GUIPanel.placeComponent()

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

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

Examples of ModalGUI.GUIPanel.placeComponent()

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

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

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.setLabel("measure");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;
    if (GLOBAL.uiTools.getCurrentTool() == UITools.MEASURE_TOOL)
      toggle.toggleDown();
    toolPanel.placeComponent(toggle);

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

Examples of ModalGUI.GUIPanel.placeComponent()

        UITools.SCALE_TOOL);
    toggle.setLabel("scale");
    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);

    GLOBAL.widgetToolSettings = new WidgetToolSettings(600, 0, 250,
        toolPanel.getHeight(), gui);
    toolPanel.add(GLOBAL.widgetToolSettings);
View Full Code Here

Examples of ModalGUI.GUIPanel.placeComponent()

    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
        UITools.SLICES_SINGLE_SLICE);
    toggle.setLabel("slice");
    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_MULTISLICE_BUTTON.png", gui);
    toggle.setComponentSet(GLOBAL.toggleSetSlices);
    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
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.