public class RescalingEvent
extends java.lang.Object
Constructor and Description |
---|
RescalingEvent(javax.swing.JPanel aSource,
double aMinMass,
double aMaxMass)
The constructor takes the resizing event X coordinates in mass units.
|
Modifier and Type | Method and Description |
---|---|
double |
getMaxMass()
Returns the maximum mass.
|
double |
getMinMass()
Returns the minimum mass.
|
javax.swing.JPanel |
getSource()
Returns the JPanel source.
|
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.Copyright © 2013. All Rights Reserved.