jchrest.lib
Class Fixation

java.lang.Object
  extended by jchrest.lib.Fixation

public class Fixation
extends java.lang.Object

A Fixation is an (x,y) location on a scene, and the type records the reason for the fixation being made.


Constructor Summary
Fixation(FixationType type, int x, int y)
          Constructor for fixation.
 
Method Summary
 java.lang.String getHeuristicDescription()
          Retrieve a string describing this fixation.
 FixationType getType()
          Retrieve the type of fixation.
 int getX()
          Retrieve the x coordinate of this fixation.
 int getY()
          Retrieve the y coordinate of this fixation.
 java.lang.String toString()
          Note: added 1 to x,y coordinates to match up with the display of visual scenes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fixation

public Fixation(FixationType type,
                int x,
                int y)
Constructor for fixation.

Method Detail

getType

public FixationType getType()
Retrieve the type of fixation.


getHeuristicDescription

public java.lang.String getHeuristicDescription()
Retrieve a string describing this fixation.


getX

public int getX()
Retrieve the x coordinate of this fixation.


getY

public int getY()
Retrieve the y coordinate of this fixation.


toString

public java.lang.String toString()
Note: added 1 to x,y coordinates to match up with the display of visual scenes.

Overrides:
toString in class java.lang.Object