gov.lbl.genome.common
Class AbstractGraphModel

java.lang.Object
  extended by gov.lbl.genome.common.AbstractGraphModel
All Implemented Interfaces:
GraphModel, java.lang.Cloneable
Direct Known Subclasses:
GeneralGraphModel

public abstract class AbstractGraphModel
extends java.lang.Object
implements GraphModel, java.lang.Cloneable

Title: AbstractGraphModel

Description:

Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory

Company: LBNL


Field Summary
protected  long ID
           
protected  java.lang.String longname
           
protected  double maxX
           
protected  double maxY
           
protected  double minX
           
protected  double minY
           
protected  java.lang.String name
           
protected  int POS
           
protected  int xUnits
           
protected  java.lang.String yLabel
           
protected  int yLabelOrientation
           
protected  int yUnits
           
 
Constructor Summary
AbstractGraphModel()
           
 
Method Summary
 long getID()
          get ID
 java.lang.String getLongName()
          get Long Name
 double getMaxX()
          get Max X
 double getMaxY()
          get Max Y
 double getMinX()
          get Min X
 double getMinY()
          get Min Y
 java.lang.String getName()
          get Name
 int getPosition()
          get Position
 int getXUnits()
          get X Units
 java.lang.String getYLabel()
          get Y Label
 int getYLabelOrientation()
          get Y Label Orientation
 int getYUnits()
          get Y Units
 void setLongName(java.lang.String name)
          set Long Name
 void setMaxY(double y)
          set Max Y
 void setMinY(double y)
          set Min Y
 void setName(java.lang.String name)
          set Name
 void setPosition(int pos)
          set Position of the model among other models
 void setYLabel(java.lang.String label)
          set Y Label Text
 void setYLabelOrientation(int or)
          set Y Label Orientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.lbl.genome.common.GraphModel
getCurveModels, getXType, getYType
 

Field Detail

name

protected java.lang.String name

longname

protected java.lang.String longname

maxY

protected double maxY

minY

protected double minY

maxX

protected double maxX

minX

protected double minX

yLabel

protected java.lang.String yLabel

yLabelOrientation

protected int yLabelOrientation

xUnits

protected int xUnits

yUnits

protected int yUnits

ID

protected long ID

POS

protected int POS
Constructor Detail

AbstractGraphModel

public AbstractGraphModel()
Method Detail

getID

public long getID()
get ID

Returns:
long

getPosition

public int getPosition()
get Position

Returns:
int

setPosition

public void setPosition(int pos)
set Position of the model among other models

Parameters:
pos - int

getMaxY

public double getMaxY()
get Max Y

Returns:
double

getMinY

public double getMinY()
get Min Y

Returns:
double

getMaxX

public double getMaxX()
get Max X

Returns:
double

getMinX

public double getMinX()
get Min X

Returns:
double

setMinY

public void setMinY(double y)
set Min Y

Parameters:
y - double

setMaxY

public void setMaxY(double y)
set Max Y

Parameters:
y - double

getXUnits

public int getXUnits()
get X Units

Specified by:
getXUnits in interface GraphModel
Returns:
int

getYUnits

public int getYUnits()
get Y Units

Specified by:
getYUnits in interface GraphModel
Returns:
int

setName

public void setName(java.lang.String name)
set Name

Parameters:
name - String

setLongName

public void setLongName(java.lang.String name)
set Long Name

Parameters:
name - String

getName

public java.lang.String getName()
get Name

Returns:
String

getLongName

public java.lang.String getLongName()
get Long Name

Returns:
String

setYLabel

public void setYLabel(java.lang.String label)
set Y Label Text

Parameters:
label - String

setYLabelOrientation

public void setYLabelOrientation(int or)
set Y Label Orientation

Parameters:
or - int

getYLabel

public java.lang.String getYLabel()
get Y Label

Returns:
String

getYLabelOrientation

public int getYLabelOrientation()
get Y Label Orientation

Returns:
int