Package ModalGUI

Examples of ModalGUI.GUIToggle.toggleDown()


        SketchSpline.CAP_ROUND);
    /*toggle.setLabel("round");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;*/
    if(GLOBAL.uiTools.SketchTools.getCap() == SketchSpline.CAP_ROUND)
      toggle.toggleDown();
   
    add(toggle);

    xPos+=30;
    toggle = new GUIToggle(xPos, yPos, "gui/GUI_SHAPE_CAP_BUT.png", gui);
View Full Code Here


        SketchSpline.CAP_BUTT);
    /*toggle.setLabel("butt");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;*/
    if(GLOBAL.uiTools.SketchTools.getCap() == SketchSpline.CAP_BUTT)
      toggle.toggleDown();
    add(toggle);
   
    xPos+=30;
    toggle = new GUIToggle(xPos, yPos, "gui/GUI_SHAPE_CAP_PARALLEL.png", gui);
    toggle.setComponentSet(toggleSetCaps);
View Full Code Here

        SketchSpline.CAP_PARRALEL);
    /*toggle.setLabel("parallel");
    toggle.label.align = GUILabel.CENTRE;
    toggle.label.layout = GUILabel.UNDER_COMPONENT;*/
    if(GLOBAL.uiTools.SketchTools.getCap() == SketchSpline.CAP_PARRALEL)
      toggle.toggleDown();
    add(toggle);

   
    xPos+=85;

View Full Code Here

    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel;
    add(toggle);
   
     toggle = new GUIToggle(650, 65, toggleSize, toggleSize, "gui/GUI_PACK_LABELS.png",gui);
     toggle.addActionListener(GLOBAL.shapePack, "addLabels");
       toggle.toggleDown();
     toggle.setLabel("add labels");
      //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel;
      add(toggle);
     
    GUIButton button = new GUIButton(800, 30, 60, 15,"Apply", 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.