KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > WMP


1 import javax.swing.JButton JavaDoc;
2
3 /** Intereface that panels in the main window implement.*/
4 public interface WMP{
5     
6     /** remove the panel from the main window.*/
7     public void doClose();
8     
9     /** Called when the connection to the server is close.
10     * (either due to error or intentionally by the user.).*/

11     public void goneOffline();
12     
13     /** Called when the connection to the server is re-established.*/
14     public void goneOnline();
15     
16     /** Focus on the main component of the panel, usually a text field.*/
17     public void doFocus();
18     
19     /** Returns the default button for the panel.*/
20     public JButton JavaDoc getDefaultButton();
21 }
Popular Tags