public class ViewRepaintEvent extends ViewEvent
View.paint(Graphics),
Serialized Form| Constructor and Description |
|---|
ViewRepaintEvent(java.lang.Object src,
View view,
java.awt.Graphics g)
Constructs a ViewRepaintEvent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ViewEventDispatcher visitor)
Visitor pattern styled method used when dispatching
the view event in the
ViewEventDispatcher. |
java.awt.Graphics |
getGraphics() |
isCancelled, setCancelledpublic ViewRepaintEvent(java.lang.Object src,
View view,
java.awt.Graphics g)
src - the source objectview - the view that is being repainted.g - the graphics object used to draw the view.public java.awt.Graphics getGraphics()
public void accept(ViewEventDispatcher visitor)
ViewEventViewEventDispatcher.