Package com.scriptel.proscript.input
Class ADCScanValues
- java.lang.Object
-
- com.scriptel.proscript.input.ADCScanValues
-
public final class ADCScanValues extends java.lang.Object
This class represents an ADC scan value sample from a ScripTouch device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getxMax()
The recorded x maximum.int
getxMin()
The recorded x minimum.int
getyMax()
The recorded y maximum.int
getyMin()
The recorded y minimum.boolean
isDataSource()
The data source.boolean
isPenDown()
Whether or not the pen is down.java.lang.String
toString()
Prints this object as a human readable string.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Prints this object as a human readable string.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Human readable string.
-
isPenDown
public boolean isPenDown()
Whether or not the pen is down.- Returns:
- the penDown
-
isDataSource
public boolean isDataSource()
The data source.- Returns:
- the dataSource
-
getxMin
public int getxMin()
The recorded x minimum.- Returns:
- the xMin
-
getxMax
public int getxMax()
The recorded x maximum.- Returns:
- the xMax
-
getyMin
public int getyMin()
The recorded y minimum.- Returns:
- the yMin
-
getyMax
public int getyMax()
The recorded y maximum.- Returns:
- the yMax
-
-