Class IMassZoom
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----DragCanvas
|
+----BaseGraph
|
+----BaseMassGraph
|
+----IMassZoom
- class IMassZoom
- extends BaseMassGraph
-
FPeptVector
- we look at two vectors only, see note in BaseMassGraph for
implementation options
-
FSecVector
-
-
FTolValue
-
-
M_WIDTH
-
-
MassListEnd
- selectors from min and max masses for zoom
-
MassListStart
- selectors from min and max masses for zoom
-
massSet
-
-
IMassZoom(int, int, int, int)
-
-
addZoom(PeptVect, float, float)
- add a new zoom vector, adjust multiply factor and recalc the minmax values
-
addZoom(PeptVect, String, String)
- add zoom from minMass to maxMass
-
adjustMinMax()
-
-
calcTolerated(float)
-
-
calcTolerated(String)
- we're interested in matching masses, so using a tolerance, calculate
the matching masses in order to plot them later
-
getZoomListEnd()
-
-
getZoomListStart()
-
-
paint(Graphics)
- glob paint loop, axis, frame, etc...
-
paintAddVector(Graphics)
- paint the second vector
-
paintTolVector(Graphics)
- show points that have matched the tolerance
-
paintZoomVector(Graphics)
- paint the zoom vector
-
Reshape()
-
-
setLog(boolean)
-
-
setZoom(PeptVect, float, float)
-
-
setZoom(PeptVect, float, float, PeptVect)
-
-
setZoom(PeptVect, String, String)
- (re)set zoom from minMass to maxMass
-
setZoomVector(PeptVect)
- set a zoom source vector and create two lists with values
from peptide masses from that vector
FPeptVector
private PeptVect FPeptVector
- we look at two vectors only, see note in BaseMassGraph for
implementation options
FSecVector
private PeptVect FSecVector
MassListStart
List MassListStart
- selectors from min and max masses for zoom
MassListEnd
List MassListEnd
- selectors from min and max masses for zoom
massSet
private boolean massSet
M_WIDTH
static int M_WIDTH
FTolValue
float FTolValue
IMassZoom
public IMassZoom(int iXPos,
int iYPos,
int iWidth,
int iHeight)
setZoom
public void setZoom(PeptVect FMassVector,
String minMass,
String maxMass)
- (re)set zoom from minMass to maxMass
addZoom
public void addZoom(PeptVect FMassVector,
String minMass,
String maxMass)
- add zoom from minMass to maxMass
addZoom
public void addZoom(PeptVect FMassVector,
float minMass,
float maxMass)
- add a new zoom vector, adjust multiply factor and recalc the minmax values
setZoom
public void setZoom(PeptVect FMassVector,
float minMass,
float maxMass)
setZoom
public void setZoom(PeptVect FMassVector,
float minMass,
float maxMass,
PeptVect FPeptVector)
adjustMinMax
private void adjustMinMax()
getZoomListStart
public List getZoomListStart()
getZoomListEnd
public List getZoomListEnd()
setZoomVector
public void setZoomVector(PeptVect FMassVector)
- set a zoom source vector and create two lists with values
from peptide masses from that vector
paintAddVector
public void paintAddVector(Graphics g)
- paint the second vector
paintZoomVector
public void paintZoomVector(Graphics g)
- paint the zoom vector
Reshape
public void Reshape()
paint
public void paint(Graphics g)
- glob paint loop, axis, frame, etc...
- Overrides:
- paint in class DragCanvas
setLog
public boolean setLog(boolean Value)
calcTolerated
public void calcTolerated(String sTol)
- we're interested in matching masses, so using a tolerance, calculate
the matching masses in order to plot them later
calcTolerated
public void calcTolerated(float tol)
paintTolVector
public void paintTolVector(Graphics g)
- show points that have matched the tolerance