Package org.openpnp.gui.support

Examples of org.openpnp.gui.support.LengthConverter


    panelUpp.add(lblUppInstructions, "2, 6, 6, 1, default, fill");
  }

  @Override
  public void createBindings() {
    LengthConverter lengthConverter = new LengthConverter();
   
    MutableLocationProxy unitsPerPixel = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, camera, "unitsPerPixel", unitsPerPixel, "location");
        addWrappedBinding(unitsPerPixel, "lengthX", textFieldUppX, "text", lengthConverter);
        addWrappedBinding(unitsPerPixel, "lengthY", textFieldUppY, "text", lengthConverter);
View Full Code Here


        contentPanel.add(panelFields);
  }

    @Override
    public void createBindings() {
        LengthConverter lengthConverter = new LengthConverter();
        IntegerConverter intConverter = new IntegerConverter();
        BufferedImageIconConverter imageConverter = new BufferedImageIconConverter();
       
//        bind(UpdateStrategy.READ_WRITE, zippynozzletip, "pixelComp", pixelCompJTF, "location");
       
View Full Code Here

    }

    @Override
    public void createBindings() {
        super.createBindings();
        LengthConverter lengthConverter = new LengthConverter();
        IntegerConverter intConverter = new IntegerConverter();
        DoubleConverter doubleConverter = new DoubleConverter(Configuration.get().getLengthDisplayFormat());
        BufferedImageIconConverter imageConverter = new BufferedImageIconConverter();

        addWrappedBinding(feeder, "feedSpeed", textFieldFeedRate, "text",
View Full Code Here

    }

    @Override
    public void createBindings() {
        super.createBindings();
        LengthConverter lengthConverter = new LengthConverter();
        IntegerConverter integerConverter = new IntegerConverter();

       
        MutableLocationProxy offsets = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, feeder, "offsets", offsets, "location");
View Full Code Here

    panelLocation.add(locationButtonsPanel, "10, 4");
  }

  @Override
  public void createBindings() {
    LengthConverter lengthConverter = new LengthConverter();
    DoubleConverter doubleConverter = new DoubleConverter(Configuration.get().getLengthDisplayFormat());
   
        MutableLocationProxy location = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, feeder, "location", location, "location");
        addWrappedBinding(location, "lengthX", textFieldLocationX, "text", lengthConverter);
View Full Code Here

        panelChanger.add(chckbxChangerEnabled, "2, 2");
    }

    @Override
    public void createBindings() {
        LengthConverter lengthConverter = new LengthConverter();

        MutableLocationProxy headOffsets = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, nozzle, "headOffsets", headOffsets,
                "location");
        addWrappedBinding(headOffsets, "lengthX", locationX, "text",
View Full Code Here

        textFieldOffZ.setColumns(8);
    }
   
    @Override
    public void createBindings() {
        LengthConverter lengthConverter = new LengthConverter();
        MutableLocationProxy headOffsets = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, referenceCamera, "headOffsets", headOffsets, "location");
        addWrappedBinding(headOffsets, "lengthX", textFieldOffX, "text", lengthConverter);
        addWrappedBinding(headOffsets, "lengthY", textFieldOffY, "text", lengthConverter);
        addWrappedBinding(headOffsets, "lengthZ", textFieldOffZ, "text", lengthConverter);
View Full Code Here

    createBindings();
    loadFromModel();
  }
 
  private void createBindings() {
    LengthConverter lengthConverter = new LengthConverter();
    DoubleConverter doubleConverter = new DoubleConverter(Configuration.get().getLengthDisplayFormat());
    IntegerConverter integerConverter = new IntegerConverter();
    ApplyResetBindingListener listener = new ApplyResetBindingListener(saveAction, cancelAction);
//    wrappedBindings.add(JBindings.bind(head, "safeZ", textFieldSafeZ, "text", lengthConverter, listener));
//    wrappedBindings.add(JBindings.bind(head, "feedRate", textFieldFeedRate, "text", lengthConverter, listener));
View Full Code Here

        panelChanger.add(changerEndLocationButtonsPanel, "10, 8, fill, default");
    }
   
    @Override
    public void createBindings() {
        LengthConverter lengthConverter = new LengthConverter();

        addWrappedBinding(nozzleTip, "allowIncompatiblePackages",
                chckbxAllowIncompatiblePackages, "selected");

        MutableLocationProxy changerStartLocation = new MutableLocationProxy();
View Full Code Here

        contentPanel.add(panelOffsets);
    }

    @Override
    public void createBindings() {
        LengthConverter lengthConverter = new LengthConverter();

        MutableLocationProxy headOffsets = new MutableLocationProxy();
        bind(UpdateStrategy.READ_WRITE, actuator, "headOffsets", headOffsets,
                "location");
        addWrappedBinding(headOffsets, "lengthX", locationX, "text",
View Full Code Here

TOP

Related Classes of org.openpnp.gui.support.LengthConverter

Copyright © 2018 www.massapicom. 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.