public class CompressConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
heightInPixels
the height in pixels
|
private long |
widthInPixels
the width in pixels
|
private boolean |
xLogScale
the state indicating whether the X axis is log scale
|
private double |
xLowerValue
the lower value of X range
|
private double |
xUpperValue
the upper value of X range
|
private boolean |
yLogScale
the state indicating whether the Y axis is log scale
|
private double |
yLowerValue
the lower value of Y range
|
private double |
yUpperValue
the upper value of Y range
|
Constructor and Description |
---|
CompressConfig()
Constructor.
|
CompressConfig(CompressConfig config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getHeightInPixel()
Gets the height of plot area in pixels
|
long |
getWidthInPixel()
Gets the width of plot area in pixels
|
double |
getXLowerValue()
Gets the lower value of x range.
|
double |
getXUpperValue()
Gets the upper value of x range.
|
double |
getYLowerValue()
Gets the lower value of y range.
|
double |
getYUpperValue()
Gets the upper value of y range.
|
int |
hashCode() |
boolean |
isXLogScale()
Gets the state indicating whether the X axis is log scale.
|
boolean |
isYLogScale()
Gets the state indicating whether the Y axis is log scale.
|
void |
setSizeInPixel(long width,
long height)
Sets the size in pixels.
|
void |
setXLogScale(boolean value)
Sets the state indicating whether the X axis is log scale.
|
void |
setXRange(double lower,
double upper)
Sets the X range.
|
void |
setYLogScale(boolean value)
Sets the state indicating whether the Y axis is log scale.
|
void |
setYRange(double lower,
double upper)
Sets the Y range.
|
java.lang.String |
toString() |
private long widthInPixels
private long heightInPixels
private double xLowerValue
private double xUpperValue
private double yLowerValue
private double yUpperValue
private boolean xLogScale
private boolean yLogScale
public CompressConfig()
public CompressConfig(CompressConfig config)
config
- the configuration for compressionpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setSizeInPixel(long width, long height)
width
- the width in pixelsheight
- the height in pixelspublic long getWidthInPixel()
public long getHeightInPixel()
public void setXRange(double lower, double upper)
lower
- the lower value of x rangeupper
- the upper value of x rangepublic void setYRange(double lower, double upper)
lower
- the lower value of y rangeupper
- the upper value of y rangepublic double getXLowerValue()
public double getXUpperValue()
public double getYLowerValue()
public double getYUpperValue()
public boolean isXLogScale()
public void setXLogScale(boolean value)
value
- the state indicating whether the X axis is log scalepublic boolean isYLogScale()
public void setYLogScale(boolean value)
value
- the state indicating whether the Y axis is log scalepublic java.lang.String toString()
toString
in class java.lang.Object