|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.ScalerPair
public class ScalerPair
Defines a pair of scalers, which is useful to encapsulate a lower and upper relative bound.
| Field Summary | |
|---|---|
private Scaler |
_scaler1
the first scaler |
private Scaler |
_scaler2
the second scaler |
| Constructor Summary | |
|---|---|
ScalerPair(double scale1,
double scale2)
Creates a scaler pair. |
|
ScalerPair(Scaler scaler1,
Scaler scaler2)
Creates a scaler pair. |
|
| Method Summary | |
|---|---|
Scaler |
getAspectRatio()
Determines the ratio between the first and second scaler by dividing the former by the latter. |
Scaler |
getScaler1()
Gets the first scaler. |
Scaler |
getScaler2()
Gets the second scaler. |
private void |
setScalerPair(Scaler scaler1,
Scaler scaler2)
Sets the scalers. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Scaler _scaler1
private Scaler _scaler2
| Constructor Detail |
|---|
public ScalerPair(double scale1,
double scale2)
scale1 - - the first scalescale2 - - the second scale
public ScalerPair(Scaler scaler1,
Scaler scaler2)
scaler1 - - the first scalerscaler2 - - the second scaler| Method Detail |
|---|
public Scaler getAspectRatio()
public Scaler getScaler1()
public Scaler getScaler2()
private void setScalerPair(Scaler scaler1,
Scaler scaler2)
scaler1 - - the first scalerscaler2 - - the second scalerpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||