Class Controller.RedrawWindow

java.lang.Object
  |
  +--java.awt.event.ComponentAdapter
        |
        +--Controller.RedrawWindow
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener
Enclosing class:
Controller

class Controller.RedrawWindow
extends java.awt.event.ComponentAdapter

Inner class for handling a window show or window resize operation.


Constructor Summary
(package private) Controller.RedrawWindow()
           
 
Method Summary
 void componentResized(java.awt.event.ComponentEvent e)
          When the window is resized, notifies the view of the new size, and sets a flag so that everything on the canvas will be redrawn.
 void componentShown(java.awt.event.ComponentEvent e)
          When the window is resshown, sets a flag so that everything on the canvas will be redrawn.
 
Methods inherited from class java.awt.event.ComponentAdapter
componentHidden, componentMoved
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller.RedrawWindow

Controller.RedrawWindow()
Method Detail

componentResized

public void componentResized(java.awt.event.ComponentEvent e)
When the window is resized, notifies the view of the new size, and sets a flag so that everything on the canvas will be redrawn.
Overrides:
componentResized in class java.awt.event.ComponentAdapter
Parameters:
e - parameter is ignored.

componentShown

public void componentShown(java.awt.event.ComponentEvent e)
When the window is resshown, sets a flag so that everything on the canvas will be redrawn.
Overrides:
componentShown in class java.awt.event.ComponentAdapter
Parameters:
e - parameter is ignored.


Generated by BlueJ