public class DefaultScaleValidator extends java.lang.Object implements ScaleValidator
Constructor and Description |
---|
DefaultScaleValidator() |
Modifier and Type | Method and Description |
---|---|
double |
getMaximumScale(double resolution) |
double |
getMinimumScale(double resolution) |
void |
setMaximumScale(double scale,
double resolution) |
void |
setMinimumScale(double scale,
double resolution) |
double |
validateScale(double scale,
double resolution) |
public double getMinimumScale(double resolution)
getMinimumScale
in interface ScaleValidator
public double getMaximumScale(double resolution)
getMaximumScale
in interface ScaleValidator
public double validateScale(double scale, double resolution)
validateScale
in interface ScaleValidator
public void setMinimumScale(double scale, double resolution)
setMinimumScale
in interface ScaleValidator
public void setMaximumScale(double scale, double resolution)
setMaximumScale
in interface ScaleValidator