KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > api > gui > frame > IFrameManager


1 package org.columba.api.gui.frame;
2
3 import org.columba.api.plugin.PluginLoadingFailedException;
4
5 public interface IFrameManager {
6
7     /**
8      * Get active/focused frame mediator.
9      *
10      * @return active frame mediator
11      */

12     public abstract IContainer getActiveFrameMediator();
13
14     /**
15      * Opens a view of a given type, i.e. with a specific id.
16      *
17      * @param id
18      * id specifying view type, e.g. "ThreePaneMail" or "Addressbook"
19      * @return Frame controller for the given view type
20      */

21     public abstract IFrameMediator openView(String JavaDoc id)
22             throws PluginLoadingFailedException;
23
24     public abstract IFrameMediator switchView(IContainer c, String JavaDoc id)
25             throws PluginLoadingFailedException;
26
27 }
Popular Tags