analog input from magnetic sensor melexis 90217

what can i do if i choose this sensor with the analog inputs?can i represent

them somehow?can i store the on/off inputs with a processing program or a

java code and represent them with a diagram or a statistical ''pie''?
can i measure them and give the average distance of the magnet,the min and max values?
For example how i represent (Flux density in Gauss) analog to (Distance in mils) in an Oxy system?

my project is http://www.bryanchung.net/?p=283 and it gives this code

import processing.serial.*;

Serial port;
final int LF = 10;
boolean led;

void setup() {
  size(600,600);
  println(Serial.list());
  port = new Serial(this,Serial.list()[1],9600);
  led = false;
  frameRate(15);
  smooth();
  noStroke();
  fill(100,100,100);
}

void draw() {
  background(0);
  if (port.available()>0) {
    String s1 = port.readStringUntil(LF);
    if (s1!=null) {
      s1 = trim(s1);
      if (s1.equals("1")) {
        fill(255,200,0);
      } else {
        fill(100,100,100);
      }
    }
  }
  ellipse(width/2,height/2,300,300);
}

i cant understand what this does...

Your sketch is Processing, to run on the PC, not an Arduino.