|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.gui.events.RescalingEvent
public class RescalingEvent
This class implements a resizing event that occurred on a SpectrumPanel.
Constructor Summary | |
---|---|
RescalingEvent(javax.swing.JPanel aSource,
double aMinMass,
double aMaxMass)
The constructor takes the resizing event X coordinates in mass units. |
Method Summary | |
---|---|
double |
getMaxMass()
Returns the maximum mass. |
double |
getMinMass()
Returns the minimum mass. |
javax.swing.JPanel |
getSource()
Returns the JPanel source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RescalingEvent(javax.swing.JPanel aSource, double aMinMass, double aMaxMass)
aSource
- The JPanel that threw the event.aMinMass
- The minimal mass to display after rescaling.aMaxMass
- The maximal mass to display after rescaling.Method Detail |
---|
public double getMaxMass()
public double getMinMass()
public javax.swing.JPanel getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |