public abstract class Glyphish extends Attributable implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Modifier and Type | Method and Description |
|---|---|
abstract java.awt.geom.Rectangle2D |
getBounds() |
abstract boolean |
inside(java.awt.geom.Point2D p) |
abstract boolean |
intersects(java.awt.geom.Rectangle2D rect) |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
abstract void |
paint(java.awt.Graphics2D g2d) |
void |
rotate(double thetaRad) |
void |
rotate(double thetaRad,
double x,
double y) |
void |
scale(double x,
double y) |
void |
setKeyAction(int type,
Closure fun) |
void |
setMouseAction(int type,
Closure fun) |
void |
shear(double x,
double y) |
abstract void |
transform(java.awt.geom.AffineTransform a) |
void |
translate(double x,
double y) |
void |
unsetMouseAction(int type) |
_getAttribute, _setAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsByte, getAttributeAsChar, getAttributeAsClosure, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInt, getAttributeAsShort, getAttributeAsString, getKeys, getStaticAttribute, getStaticKeys, isAttribute, isStaticAttribute, removeAllAttributes, removeAllStaticAttributes, removeAttribute, removeStaticAttribute, setAttribute, setStaticAttribute, showAttributes, showAttributespublic static final boolean DEBUG
public Glyphish()
public Glyphish(Glyphish clone)
public abstract void paint(java.awt.Graphics2D g2d)
public abstract void transform(java.awt.geom.AffineTransform a)
public abstract boolean inside(java.awt.geom.Point2D p)
public abstract boolean intersects(java.awt.geom.Rectangle2D rect)
public abstract java.awt.geom.Rectangle2D getBounds()
public void translate(double x,
double y)
public void scale(double x,
double y)
public void shear(double x,
double y)
public void rotate(double thetaRad,
double x,
double y)
public void rotate(double thetaRad)
public void unsetMouseAction(int type)
public void setMouseAction(int type,
Closure fun)
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void setKeyAction(int type,
Closure fun)
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListener