|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aleax.gui.gesture.Stroke
This class provides low-level stroke manipulation/comparison routines.
A stroke is the series of Points recorded as a drag with a single, continuous movement of the pointing device.
Field Summary | |
static long |
serialVersionUID
|
Constructor Summary | |
Stroke(java.awt.Point[] points)
Constructs a stroke defined by the given points |
|
Stroke(java.util.Vector points)
Constructs a stroke defined by the given Vector of java.awt.Point |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
boolean |
equivalentTo(Stroke other)
|
int |
hashCode()
|
void |
paint(java.awt.Graphics g)
|
void |
recalculate()
Re-calculates the stroke data with the current filter settings. |
java.lang.String |
toString()
For debugging |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long serialVersionUID
Constructor Detail |
public Stroke(java.util.Vector points)
public Stroke(java.awt.Point[] points)
Method Detail |
public java.lang.Object clone()
public int hashCode()
public boolean equals(java.lang.Object o)
public boolean equivalentTo(Stroke other)
public void paint(java.awt.Graphics g)
public java.lang.String toString()
public void recalculate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |