at.tuwien.ifs.somtoolbox.visualization.comparison
Class Shift

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.visualization.comparison.Shift
All Implemented Interfaces:
Comparable<Shift>

public class Shift
extends Object
implements Comparable<Shift>

Version:
$Id: Shift.java 3883 2010-11-02 17:13:23Z frank $
Author:
Doris Baum

Field Summary
static int ADJACENT
           
private  int breadth
           
static int CLUSTER
           
private  int count
           
private  String label
           
static int OUTLIER
           
private  double percent
           
private  double proportion
           
static int STABLE
           
private  int type
           
private  int x1
           
private  int x2
           
private  int y1
           
private  int y2
           
 
Constructor Summary
Shift()
           
 
Method Summary
 int compareTo(Shift other)
           
 int getBreadth()
           
 int getCount()
           
 String getLabel()
           
 double getPercent()
           
 double getProportion()
           
 int getType()
           
 int getX1()
           
 int getX2()
           
 int getY1()
           
 int getY2()
           
protected  void setBreadth(int breadth)
           
protected  void setCoords(int x1, int y1, int x2, int y2)
           
protected  void setCount(int count)
           
protected  void setLabel(String label)
           
protected  void setPercent(double percent)
           
protected  void setProportion(double proportion)
           
protected  void setType(int type)
           
protected  void setX1(int x1)
           
protected  void setX2(int x2)
           
protected  void setY1(int y1)
           
protected  void setY2(int y2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x1

private int x1

y1

private int y1

x2

private int x2

y2

private int y2

count

private int count

percent

private double percent

proportion

private double proportion

breadth

private int breadth

label

private String label

type

private int type

STABLE

public static final int STABLE
See Also:
Constant Field Values

ADJACENT

public static final int ADJACENT
See Also:
Constant Field Values

OUTLIER

public static final int OUTLIER
See Also:
Constant Field Values

CLUSTER

public static final int CLUSTER
See Also:
Constant Field Values
Constructor Detail

Shift

public Shift()
Method Detail

compareTo

public int compareTo(Shift other)
Specified by:
compareTo in interface Comparable<Shift>

getLabel

public String getLabel()

getX1

public int getX1()

getX2

public int getX2()

getY1

public int getY1()

getY2

public int getY2()

setCoords

protected void setCoords(int x1,
                         int y1,
                         int x2,
                         int y2)

setLabel

protected void setLabel(String label)

setX1

protected void setX1(int x1)

setX2

protected void setX2(int x2)

setY1

protected void setY1(int y1)

setY2

protected void setY2(int y2)

getType

public int getType()

setType

protected void setType(int type)

getCount

public int getCount()

getProportion

public double getProportion()

setCount

protected void setCount(int count)

setProportion

protected void setProportion(double proportion)

toString

public String toString()
Overrides:
toString in class Object

getBreadth

public int getBreadth()

setBreadth

protected void setBreadth(int breadth)

getPercent

public double getPercent()

setPercent

protected void setPercent(double percent)