
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@509 72836036-5685-4462-b002-a69064685172
26 lines
536 B
Java
26 lines
536 B
Java
package jrummikub.view;
|
|
|
|
import jrummikub.util.IEvent;
|
|
|
|
/**
|
|
* Panel shown during connection process and showing errors
|
|
*/
|
|
public interface IConnectPanel {
|
|
|
|
/**
|
|
* Show connection process while error = null, error else
|
|
*
|
|
* @param error
|
|
* the error to allow specific error messages
|
|
*/
|
|
public void setMode(LoginError error);
|
|
|
|
/**
|
|
* Is emitted when the user wants to abort connecting or has acknowledged
|
|
* the error
|
|
*
|
|
* @return the event
|
|
*/
|
|
public IEvent getCancelEvent();
|
|
|
|
}
|