java.lang.Object
com.xerox.VTM.engine.AppEventHandler
com.xerox.VTM.demo.AnimationEvtHdlr
- public class AnimationEvtHdlr
- extends com.xerox.VTM.engine.AppEventHandler
|
Method Summary |
void |
click1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
|
void |
click2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
|
void |
click3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
|
void |
enterGlyph(com.xerox.VTM.glyphs.Glyph g,
com.xerox.VTM.engine.ViewPanel v)
|
void |
exitGlyph(com.xerox.VTM.glyphs.Glyph g,
com.xerox.VTM.engine.ViewPanel v)
|
void |
Kpress(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
|
void |
Krelease(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
|
void |
Ktype(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
beware: code is always 0 in Ktype (it is the value of KeyEvent.getKeyCode() which is always equal to VK_UNDEFINED according to Sun). |
void |
mouseDragged(com.xerox.VTM.engine.ViewPanel v,
int mod,
int buttonNumber,
int jpx,
int jpy)
|
void |
mouseMoved(com.xerox.VTM.engine.ViewPanel v,
int jpx,
int jpy)
|
void |
press1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
void |
press2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
void |
press3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
void |
release1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
void |
release2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
void |
release3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
void |
viewActivated(com.xerox.VTM.engine.View v)
|
void |
viewClosing(com.xerox.VTM.engine.View v)
|
void |
viewDeactivated(com.xerox.VTM.engine.View v)
|
void |
viewDeiconified(com.xerox.VTM.engine.View v)
|
void |
viewIconified(com.xerox.VTM.engine.View v)
|
application
Introduction application
lastX
long lastX
lastY
long lastY
lastJPX
long lastJPX
lastJPY
long lastJPY
tfactor
float tfactor
cfactor
float cfactor
navSeg
com.xerox.VTM.glyphs.VSegment navSeg
activeCam
com.xerox.VTM.engine.Camera activeCam
orientation
com.xerox.VTM.glyphs.Glyph orientation
size
com.xerox.VTM.glyphs.Glyph size
color
com.xerox.VTM.glyphs.Glyph color
translation
com.xerox.VTM.glyphs.Glyph translation
linear
com.xerox.VTM.glyphs.Glyph linear
exponential
com.xerox.VTM.glyphs.Glyph exponential
sigmoid
com.xerox.VTM.glyphs.Glyph sigmoid
AnimationEvtHdlr
AnimationEvtHdlr(Introduction appli,
com.xerox.VTM.glyphs.Glyph o,
com.xerox.VTM.glyphs.Glyph s,
com.xerox.VTM.glyphs.Glyph c,
com.xerox.VTM.glyphs.Glyph t,
com.xerox.VTM.glyphs.Glyph l,
com.xerox.VTM.glyphs.Glyph e,
com.xerox.VTM.glyphs.Glyph sg)
press1
public void press1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
release1
public void release1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
click1
public void click1(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
press2
public void press2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
release2
public void release2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
click2
public void click2(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
press3
public void press3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
release3
public void release3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy)
click3
public void click3(com.xerox.VTM.engine.ViewPanel v,
int mod,
int jpx,
int jpy,
int clickNumber)
mouseMoved
public void mouseMoved(com.xerox.VTM.engine.ViewPanel v,
int jpx,
int jpy)
mouseDragged
public void mouseDragged(com.xerox.VTM.engine.ViewPanel v,
int mod,
int buttonNumber,
int jpx,
int jpy)
enterGlyph
public void enterGlyph(com.xerox.VTM.glyphs.Glyph g,
com.xerox.VTM.engine.ViewPanel v)
exitGlyph
public void exitGlyph(com.xerox.VTM.glyphs.Glyph g,
com.xerox.VTM.engine.ViewPanel v)
Ktype
public void Ktype(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
- Description copied from class:
com.xerox.VTM.engine.AppEventHandler
- beware: code is always 0 in Ktype (it is the value of KeyEvent.getKeyCode() which is always equal to VK_UNDEFINED according to Sun). If you need to access code, use Kpress or Krelease.
Kpress
public void Kpress(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
Krelease
public void Krelease(com.xerox.VTM.engine.ViewPanel v,
char c,
int code,
int mod)
viewActivated
public void viewActivated(com.xerox.VTM.engine.View v)
viewDeactivated
public void viewDeactivated(com.xerox.VTM.engine.View v)
viewIconified
public void viewIconified(com.xerox.VTM.engine.View v)
viewDeiconified
public void viewDeiconified(com.xerox.VTM.engine.View v)
viewClosing
public void viewClosing(com.xerox.VTM.engine.View v)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).