fr.emn.win32input.jwintab
Class Range
java.lang.Object
fr.emn.win32input.jwintab.Range
- Direct Known Subclasses:
- PhysicalRange
- public class Range
- extends java.lang.Object
A class representing an integer range in a single dimension.
This class is used to describe logical domains.
- See Also:
TabletContext
,
TabletDevice
Constructor Summary |
Range()
Contructs a Range object with min=0 and max=0. |
Range(int min,
int max)
Constructs a Range object with specified min and max. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
min
public int min
max
public int max
Range
public Range()
- Contructs a Range object with min=0 and max=0.
Range
public Range(int min,
int max)
- Constructs a Range object with specified min and max.
getExtent
public int getExtent()
- getExtent() = getMax() - getMin() + 1
getMax
public int getMax()
getMin
public int getMin()
setMax
public void setMax(int max)
setMin
public void setMin(int min)
toString
public java.lang.String toString()