com.compomics.util.gui.protein
Class ModificationProfile

java.lang.Object
  extended by com.compomics.util.gui.protein.ModificationProfile

public class ModificationProfile
extends java.lang.Object

A simple modofication profile object.

Author:
Harald Barsnes

Field Summary
static int A_SCORE_ROW_INDEX
          The a score row index.
static int DELTA_SCORE_ROW_INDEX
          The delta score row index.
 
Constructor Summary
ModificationProfile(java.lang.String ptmName, double[][] profile, java.awt.Color color)
          Modification profile constructor.
 
Method Summary
 java.awt.Color getColor()
          Returns the PTM color.
 double[][] getProfile()
          Returns the profile.
 java.lang.String getPtmName()
          Returns the PTM name.
 void setColor(java.awt.Color color)
          Sets the PTM color.
 void setProfile(double[][] profile)
          Sets the profile.
 void setPtmName(java.lang.String ptmName)
          Sets the PTM name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELTA_SCORE_ROW_INDEX

public static final int DELTA_SCORE_ROW_INDEX
The delta score row index.

See Also:
Constant Field Values

A_SCORE_ROW_INDEX

public static final int A_SCORE_ROW_INDEX
The a score row index.

See Also:
Constant Field Values
Constructor Detail

ModificationProfile

public ModificationProfile(java.lang.String ptmName,
                           double[][] profile,
                           java.awt.Color color)
Modification profile constructor.

Parameters:
ptmName - the PTM namr
profile - the PTM profile
color - the PTM color
Method Detail

getPtmName

public java.lang.String getPtmName()
Returns the PTM name.

Returns:
the ptmName

setPtmName

public void setPtmName(java.lang.String ptmName)
Sets the PTM name.

Parameters:
ptmName - the ptmName to set

getProfile

public double[][] getProfile()
Returns the profile.

Returns:
the profile

setProfile

public void setProfile(double[][] profile)
Sets the profile.

Parameters:
profile - the profile to set

getColor

public java.awt.Color getColor()
Returns the PTM color.

Returns:
the color

setColor

public void setColor(java.awt.Color color)
Sets the PTM color.

Parameters:
color - the color to set


Copyright © 2011. All Rights Reserved.