Back to project page graph-android.
The source code is released under:
GNU General Public License
If you think the Android project graph-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lorian.graph; /*www. j a va 2 s. c o m*/ public class WindowSettings { private long Xmin, Xmax, Ymin, Ymax; private boolean grid; public WindowSettings() { setXmin(-10); setXmax(10); setYmin(-10); setYmax(10); setGrid(false); } public WindowSettings(long Xmin, long Xmax, long Ymin, long Ymax, boolean grid) { setXmin(Xmin); setXmax(Xmax); setYmin(Ymin); setYmax(Ymax); setGrid(grid); } public long getYmin() { return Ymin; } public void setYmin(long ymin) { Ymin = ymin; } public long getXmin() { return Xmin; } public void setXmin(long xmin) { Xmin = xmin; } public long getXmax() { return Xmax; } public void setXmax(long xmax) { Xmax = xmax; } public long getYmax() { return Ymax; } public void setYmax(long ymax) { Ymax = ymax; } public boolean gridOn() { return grid; } public void setGrid(boolean grid) { this.grid = grid; } }