Package org.openpnp.model

Examples of org.openpnp.model.Length


        boardLocation.setSide((Side) aValue);
        fireTableCellUpdated(rowIndex, columnIndex);
      }
      else if (columnIndex == 2) {
        LengthCellValue value = (LengthCellValue) aValue;
        Length length = value.getLength();
        Location location = boardLocation.getLocation();
        location = Length.setLocationField(configuration, location, length, Length.Field.X);
        boardLocation.setLocation(location);
      }
      else if (columnIndex == 3) {
        LengthCellValue value = (LengthCellValue) aValue;
        Length length = value.getLength();
        Location location = boardLocation.getLocation();
        location = Length.setLocationField(configuration, location, length, Length.Field.Y);
        boardLocation.setLocation(location);
      }
      else if (columnIndex == 4) {
        LengthCellValue value = (LengthCellValue) aValue;
        Length length = value.getLength();
        Location location = boardLocation.getLocation();
        location = Length.setLocationField(configuration, location, length, Length.Field.Z);
        boardLocation.setLocation(location);
      }
      else if (columnIndex == 5) {
View Full Code Here


        placement.setSide((Side) aValue);
      }
      else if (columnIndex == 3) {
        LengthCellValue value = (LengthCellValue) aValue;
        value.setDisplayNativeUnits(true);
        Length length = value.getLength();
        Location location = placement.getLocation();
        location = Length.setLocationField(configuration, location, length, Length.Field.X, true);
        placement.setLocation(location);
      }
      else if (columnIndex == 4) {
        LengthCellValue value = (LengthCellValue) aValue;
        value.setDisplayNativeUnits(true);
        Length length = value.getLength();
        Location location = placement.getLocation();
        location = Length.setLocationField(configuration, location, length, Length.Field.Y, true);
        placement.setLocation(location);
      }
            else if (columnIndex == 5) {
View Full Code Here

TOP

Related Classes of org.openpnp.model.Length

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.