aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/sipaccregwizz/SIPAccountCreationFormService.java
blob: b76fc44a36482dd451b91ec1f99618a7f6cdb5a9 (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
27
28
29
30
31
32
33
34
35
/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license. See terms of license at gnu.org.
 */
package net.java.sip.communicator.plugin.sipaccregwizz;

import java.awt.*;

/**
 * The <tt>CreateAccountService</tt> is meant to be implemented by specific
 * account registration implementations, which contain an account create form.
 *
 * @author Yana Stamcheva
 */
public interface SIPAccountCreationFormService
{
    /**
     * Creates an account for a specific server.
     * @return the new account
     */
    public NewAccount createAccount();

    /**
     * Returns the form, which would be used by the user to create a new
     * account.
     * @return the component of the form
     */
    public Component getForm();

    /**
     * Clears all the data previously entered in the form.
     */
    public void clear();
}