public class CanvasCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
DisplayCanvas |
canvas
_more_
|
static boolean |
debug
_more_
|
java.awt.AWTEvent |
firstEvent
_more_
|
java.awt.Point |
originalPoint
_more_
|
Constructor and Description |
---|
CanvasCommand(DisplayCanvas canvas,
java.awt.AWTEvent firstEvent,
int x,
int y)
_more_
|
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String msg)
_more_
|
void |
doAbort()
_more_
|
protected void |
doComplete()
_more_
|
boolean |
doesChangeGlyphs()
_more_
|
CanvasCommand |
doFocusGained(java.awt.event.FocusEvent e)
_more_
|
CanvasCommand |
doFocusLost(java.awt.event.FocusEvent e)
_more_
|
CanvasCommand |
doKeyPress(java.awt.event.KeyEvent e)
_more_
|
CanvasCommand |
doKeyReleased(java.awt.event.KeyEvent e)
_more_
|
CanvasCommand |
doMouseClicked(java.awt.event.MouseEvent e,
int x,
int y)
_more_
|
CanvasCommand |
doMouseDragged(java.awt.event.MouseEvent e,
int x,
int y)
_more_
|
CanvasCommand |
doMousePressed(java.awt.event.MouseEvent e,
int x,
int y)
_more_
|
CanvasCommand |
doMouseReleased(java.awt.event.MouseEvent e,
int x,
int y)
_more_
|
void |
doPaint(java.awt.Graphics graphics)
_more_
|
java.awt.Cursor |
getCursor()
_more_
|
java.lang.String |
getDescription()
_more_
|
boolean |
isAtomic()
_more_
|
void |
paint(java.awt.Graphics g)
_more_
|
void |
repaint()
_more_
|
void |
repaint(java.awt.Rectangle r)
_more_
|
java.lang.String |
toString()
_more_
|
public DisplayCanvas canvas
public java.awt.AWTEvent firstEvent
public java.awt.Point originalPoint
public static boolean debug
public CanvasCommand(DisplayCanvas canvas, java.awt.AWTEvent firstEvent, int x, int y)
canvas
- firstEvent
- x
- y
- public boolean doesChangeGlyphs()
public void debug(java.lang.String msg)
msg
- public java.lang.String getDescription()
public boolean isAtomic()
public void doAbort()
protected void doComplete()
public java.awt.Cursor getCursor()
public CanvasCommand doFocusGained(java.awt.event.FocusEvent e)
e
- public CanvasCommand doFocusLost(java.awt.event.FocusEvent e)
e
- public void doPaint(java.awt.Graphics graphics)
graphics
- public CanvasCommand doMouseClicked(java.awt.event.MouseEvent e, int x, int y)
e
- x
- y
- public CanvasCommand doMousePressed(java.awt.event.MouseEvent e, int x, int y)
e
- x
- y
- public CanvasCommand doMouseReleased(java.awt.event.MouseEvent e, int x, int y)
e
- x
- y
- public CanvasCommand doMouseDragged(java.awt.event.MouseEvent e, int x, int y)
e
- x
- y
- public CanvasCommand doKeyReleased(java.awt.event.KeyEvent e)
e
- public CanvasCommand doKeyPress(java.awt.event.KeyEvent e)
e
- public java.lang.String toString()
toString
in class java.lang.Object
public void paint(java.awt.Graphics g)
g
- public void repaint()
public void repaint(java.awt.Rectangle r)
r
-