Package ModalGUI

Examples of ModalGUI.GUIToggle.addActionListener()


   
   
   
     posY = 65;
     GUIToggle toggle = new GUIToggle(this.getWidth()-20,modelPannelYPos - 15,"gui/GUI_MINMIMIZE_PANEL_UP.png","gui/GUI_MINMIMIZE_PANEL_DOWN.png",gui );
     toggle.addActionListener(this, "minimizeToggleTop", null);
     this.add(toggle);
     topComponents.add(toggle);
    
      toggle = new GUIToggle(this.getWidth()-20,patternPannelYPos - 15,"gui/GUI_MINMIMIZE_PANEL_UP.png","gui/GUI_MINMIMIZE_PANEL_DOWN.png",gui );
     toggle.addActionListener(this, "minimizeTogglePattern", null);
View Full Code Here


     toggle.addActionListener(this, "minimizeToggleTop", null);
     this.add(toggle);
     topComponents.add(toggle);
    
      toggle = new GUIToggle(this.getWidth()-20,patternPannelYPos - 15,"gui/GUI_MINMIMIZE_PANEL_UP.png","gui/GUI_MINMIMIZE_PANEL_DOWN.png",gui );
     toggle.addActionListener(this, "minimizeTogglePattern", null);
     middleComponents.add(toggle);
     this.add(toggle);
    
   
     posX += 80;
View Full Code Here

   
     posX += 80;
    
    
      toggle = new GUIToggle(posX-5+150,modelPannelYPosBase-75,"gui/GUI_ERGO_SHOW.png","gui/GUI_ERGO_HIDE.png",gui );
     toggle.addActionListener(GLOBAL.uiTools, "togglePerson", null);
     this.add(toggle);
     middleComponents.add(toggle);

     /*
     label = new GUILabel(2,modelPannelYPos-20,"model | view", gui);
View Full Code Here

    toggleDogbones.setLabel("add dogbones");
    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel;
    add(toggleDogbones);

    toggle = new GUIToggle(500, 40, toggleSize, toggleSize, "gui/GUI_MATERIAL_SEPERATE_SLOT.png",gui);
    toggle.addActionListener(GLOBAL.SketchGlobals, "seperate_slots");
    toggle.setLabel("seperate slots");
    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel.UNDER_COMPONENT;
    add(toggle);

    toggle = new GUIToggle(500, 65, toggleSize, toggleSize, "gui/GUI_MATERIAL_BEVEL_SLOT.png",gui);
View Full Code Here

    toggle.setLabel("seperate slots");
    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel.UNDER_COMPONENT;
    add(toggle);

    toggle = new GUIToggle(500, 65, toggleSize, toggleSize, "gui/GUI_MATERIAL_BEVEL_SLOT.png",gui);
    toggle.addActionListener(GLOBAL.shapePack, "add_guide_divets");
    toggle.setLabel("is paper cut");
    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel;
    add(toggle);

    cuttingBitSize = new GUINumberfield(650, 15, 30, 15, gui);
View Full Code Here

   
    //label = new GUILabel(450, 15, "packing options", gui);
    //add(label);
   
    toggle = new GUIToggle(650, 35, toggleSize, toggleSize, "gui/GUI_PACK_AUTO.png",gui);
    toggle.addActionListener(GLOBAL.shapePack, "autoPackPieces");
    toggle.setLabel("auto pack");
    //toggle.label.align = GUILabel.CENTRE; toggle.label.layout = GUILabel;
    add(toggle);
   
     toggle = new GUIToggle(650, 65, toggleSize, toggleSize, "gui/GUI_PACK_LABELS.png",gui);
View Full Code Here

    toggle.setLabel("auto pack");
    //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);
     
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.