summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IConnectPanel.java
blob: d09460e1a37dcab91017ad24a54c63ccd28bdfee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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();

}