org.progeeks.util
Interface ContextView

All Known Implementing Classes:
ChartContextPanel, DefaultContextView

public interface ContextView

Represents views that can provide access to their associated context. ContextView objects generally have a one-to-one relationship with ViewContext objects.

Version:
$Revision: 1.2 $
Author:
Paul Speed

Method Summary
 ViewContext getViewContext()
          Returns the view context associated with this view.
 void setViewContext(ViewContext context)
          Sets this view's current ViewContext.
 

Method Detail

getViewContext

ViewContext getViewContext()
Returns the view context associated with this view.


setViewContext

void setViewContext(ViewContext context)
Sets this view's current ViewContext. This is an method operation but a recommended one in cases where contexts can live longer than the views. Applications will use this method to let the view component release any of its listeners as needed. Default implementation just sets the local view context.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.