nankin.zheng.gatem.view
Interface CacheContainer

All Known Implementing Classes:
CacheContainerImplAsJPanel

public interface CacheContainer

CacheContainer is a container holding several DisplayCache instances.

Version:
1.0, Date 2003-04-11
Author:
ZHENG Zhong

Method Summary
 void addCache(DisplayCache dc)
          Add a DisplayCache instance to the container.
 void flush()
          Call the flush() method of each DisplayCache instance.
 

Method Detail

addCache

public void addCache(DisplayCache dc)
Add a DisplayCache instance to the container.

Parameters:
dc - DisplayCache to be added.
Throws:
java.lang.NullPointerException - if dc is null.

flush

public void flush()
Call the flush() method of each DisplayCache instance. While calling, the depth of DisplayCache should be considered. DisplayCache with less depth will be flushed earlier.