|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.softpro.signdocmobile.foundations.TabletPoint
public class TabletPoint
TabletPoint represents a single sample point
The TabletPoint class provides the get and set functions for developers.
Constructor Summary | |
---|---|
TabletPoint()
TabletPoint constructs an empty TabletPoint |
|
TabletPoint(float x,
float y,
float p,
long time)
TabletPoint constructor initialized with parameter list |
|
TabletPoint(TabletPoint src)
TabletPoint copy constructor |
Method Summary | |
---|---|
float |
getPressure()
get pressure of point |
long |
getTime()
get the time the point was captured |
float |
getX()
get X coordinate |
float |
getY()
get Y coordinate |
boolean |
isEqual(TabletPoint b)
Check if two points are equal |
void |
setPressure(float p)
set pressure |
void |
setTime(long time)
set Time |
void |
setX(float x)
set X coordinate |
void |
setY(float y)
set Y coordinate |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TabletPoint()
public TabletPoint(TabletPoint src)
src
- Tablet point to copypublic TabletPoint(float x, float y, float p, long time)
x
- X -coordinatey
- Y -coordinatep
- pressuretime
- timeMethod Detail |
---|
public float getX()
public float getY()
public long getTime()
public float getPressure()
public void setX(float x)
x
- X-coordinatepublic void setY(float y)
y
- Y-coordinatepublic void setTime(long time)
time
- public void setPressure(float p)
p
- pressurepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isEqual(TabletPoint b)
b
- point to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |