Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

gov::lbl::genome::gui::AbstractCurveView Class Reference

Inheritance diagram for gov::lbl::genome::gui::AbstractCurveView:

Inheritance graph
[legend]
Collaboration diagram for gov::lbl::genome::gui::AbstractCurveView:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setLineNumber (int line)
double getMinX ()
double getMaxX ()
double getMinY ()
double getMaxY ()
void setMinX (double x)
void setMaxX (double x)
void setMinY (double y)
void setMaxY (double y)
synchronized void reRenderOff ()
synchronized void reRenderOn ()
synchronized void setSize (double width, double height)
synchronized double getWidth ()
synchronized void setGraphView (GeneralGraphView graphView)
synchronized GeneralGraphView getGraphView ()
CurveModel getCurveModel ()
void setCurveModel (CurveModel model)
void setStroke (Stroke stroke)
void refresh (final long minX, final long maxX)
String toString ()
Object clone ()
void setMarginLeft (int x)
void setMarginRight (int x)
void setMarginTop (int y)

Protected Member Functions

void renderInitialize ()
final int convertX (double x)
final int convertX (long x)
long xDisplay (int x)
final float convertY (double y)

Protected Attributes

CurveModel model
GeneralGraphView graphView
Stroke stroke = UIConstants.SOLID_STROKE
Color curveColor = null
double minY
double maxY
double yDifference
double minX
double maxX
double xDifference
double realGraphHeight
double realGraphWidth
double adjustedGraphHeight
double adjustedGraphWidth
VistaApp va = null
Graphics2D g2d = null
int[] xPoints = null
int[] yPoints = null
int nPoints = 0
int lineNumber = 0
int marginLeft = 0
int marginRight = UIConstants.Y_AXIS_OFFSET_WIDTH
int marginTop = 0
int width = 0
int height = 0
Parameter param = null

Detailed Description

Title: AbstractCurveView

Description: This abstract class privides general curve drawing operations.
all real curves and images must be produced from this class

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

Company: LBNL

Author:
Lila Tretikov
Version:
1.0


Member Function Documentation

Object gov::lbl::genome::gui::AbstractCurveView::clone  )  [inline]
 

clone

Returns:
Object

final int gov::lbl::genome::gui::AbstractCurveView::convertX long  x  )  [inline, protected]
 

convert graph coordinate into the screen coordinate

Parameters:
x long
Returns:
int

final int gov::lbl::genome::gui::AbstractCurveView::convertX double  x  )  [inline, protected]
 

convert graph coordinate into the screen coordinate

Parameters:
x double
Returns:
int

final float gov::lbl::genome::gui::AbstractCurveView::convertY double  y  )  [inline, protected]
 

convert graph coordinate into the screen coordinate

Parameters:
y double
Returns:
float

CurveModel gov::lbl::genome::gui::AbstractCurveView::getCurveModel  )  [inline]
 

return Curve Model

Returns:
CurveModel

Implements gov::lbl::genome::gui::CurveView.

synchronized GeneralGraphView gov::lbl::genome::gui::AbstractCurveView::getGraphView  )  [inline]
 

return Graph View

Returns:
GeneralGraphView

Implements gov::lbl::genome::gui::CurveView.

double gov::lbl::genome::gui::AbstractCurveView::getMaxX  )  [inline]
 

get Max X

Returns:
double

double gov::lbl::genome::gui::AbstractCurveView::getMaxY  )  [inline]
 

get Max Y

Returns:
double

double gov::lbl::genome::gui::AbstractCurveView::getMinX  )  [inline]
 

get Min X

Returns:
double

double gov::lbl::genome::gui::AbstractCurveView::getMinY  )  [inline]
 

get Min Y

Returns:
double

synchronized double gov::lbl::genome::gui::AbstractCurveView::getWidth  )  [inline]
 

return adjusted graph width

Returns:
double

void gov::lbl::genome::gui::AbstractCurveView::refresh final long  minX,
final long  maxX
[inline]
 

request new information from the server

Parameters:
minX long
maxX long
See also:
gov.lbl.genome.common.CurveModel::refresh(VistaApp,long,long)

void gov::lbl::genome::gui::AbstractCurveView::renderInitialize  )  [inline, protected]
 

Initialize rendered This should be called every time the curve is rendered.

synchronized void gov::lbl::genome::gui::AbstractCurveView::reRenderOff  )  [inline]
 

switch reRender Off

synchronized void gov::lbl::genome::gui::AbstractCurveView::reRenderOn  )  [inline]
 

switch reRender On

void gov::lbl::genome::gui::AbstractCurveView::setCurveModel CurveModel  model  )  [inline]
 

set Curve Model

Parameters:
model CurveModel

Implements gov::lbl::genome::gui::CurveView.

synchronized void gov::lbl::genome::gui::AbstractCurveView::setGraphView GeneralGraphView  graphView  )  [inline]
 

set Graph View

Parameters:
graphView GeneralGraphView

Implements gov::lbl::genome::gui::CurveView.

void gov::lbl::genome::gui::AbstractCurveView::setLineNumber int  line  )  [inline]
 

set Line Number

Parameters:
line int

void gov::lbl::genome::gui::AbstractCurveView::setMarginLeft int  x  )  [inline]
 

set Left Margin

Parameters:
x int

void gov::lbl::genome::gui::AbstractCurveView::setMarginRight int  x  )  [inline]
 

set Right Margin

Parameters:
x int

void gov::lbl::genome::gui::AbstractCurveView::setMarginTop int  y  )  [inline]
 

set Top Margin

Parameters:
y int

void gov::lbl::genome::gui::AbstractCurveView::setMaxX double  x  )  [inline]
 

set Max X

Parameters:
x double

void gov::lbl::genome::gui::AbstractCurveView::setMaxY double  y  )  [inline]
 

set Max Y

Parameters:
y double

void gov::lbl::genome::gui::AbstractCurveView::setMinX double  x  )  [inline]
 

set Min X

Parameters:
x double

void gov::lbl::genome::gui::AbstractCurveView::setMinY double  y  )  [inline]
 

set Min Y

Parameters:
y double

synchronized void gov::lbl::genome::gui::AbstractCurveView::setSize double  width,
double  height
[inline]
 

set Size

Parameters:
width double
height double

void gov::lbl::genome::gui::AbstractCurveView::setStroke Stroke  stroke  )  [inline]
 

set Stroke

Parameters:
stroke Stroke

String gov::lbl::genome::gui::AbstractCurveView::toString  )  [inline]
 

return text column with all points

long gov::lbl::genome::gui::AbstractCurveView::xDisplay int  x  )  [inline, protected]
 

convert screen coordinate into the graph coordinate

Parameters:
x int
Returns:
long


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 16:58:55 2005 by  doxygen 1.3.9.1