JHotDraw 6.0b1

org.jhotdraw.framework
Interface ViewChangeListener

All Superinterfaces:
java.util.EventListener

public interface ViewChangeListener
extends java.util.EventListener

Title: Description: Copyright: Copyright (c) 2001 Company:

Since:
10/14/01

Method Summary
 void viewCreated(DrawingView view)
          Sent when a new view is created.
 void viewDestroying(DrawingView view)
          Send when an existing view is about to be destroyed.
 void viewSelectionChanged(DrawingView oldView, DrawingView newView)
          Sent when the active view has changed.
 

Method Detail

viewSelectionChanged

void viewSelectionChanged(DrawingView oldView,
                          DrawingView newView)
Sent when the active view has changed.

Parameters:
newView - view

viewCreated

void viewCreated(DrawingView view)
Sent when a new view is created. This should only be fired after the view has a peer. I believe that means the view has a component chain all the way to a heavyweight container.

Parameters:
view - view

viewDestroying

void viewDestroying(DrawingView view)
Send when an existing view is about to be destroyed. After processing this event, the view is not guaranteed to contain any appropriate data. You must not use it.


JHotDraw 6.0b1