blob: 257e787359377051b0d369411c95f393fe046609 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.gui;
/**
* The <tt>WizardContainer</tt> is a base wizard interface that allows to
* control the wizard buttons. It is extended by the
* <tt>AccountRegistrationWizardContainer</tt> and for now is used only there.
* In spite of this fact it's defined in a different interface, because of
* the more general character of the methods. It could be extended in the
* future to make a complete wizard interface.
*
* @author Yana Stamcheva
*/
public interface WizardContainer {
/**
* Returns TRUE if "Back" wizard button is enabled, FALSE otherwise.
* @return TRUE if "Back" wizard button is enabled, FALSE otherwise.
*/
public boolean isBackButtonEnabled();
/**
* Sets the "Back" wizard button enabled or disabled.
* @param newValue TRUE to enable the "Back" wizard button, FALSE to
* disable it.
*/
public void setBackButtonEnabled(boolean newValue);
/**
* Returns TRUE if "Next" or "Finish" wizard button is enabled, FALSE
* otherwise.
* @return TRUE if "Next" or "Finish" wizard button is enabled, FALSE
* otherwise.
*/
public boolean isNextFinishButtonEnabled();
/**
* Sets the "Next" or "Finish" wizard button enabled or disabled.
* @param newValue TRUE to enable the "Next" or "Finish" wizard button,
* FALSE to disable it.
*/
public void setNextFinishButtonEnabled(boolean newValue);
/**
* Returns TRUE if "Cancel" wizard button is enabled, FALSE otherwise.
* @return TRUE if "Cancel" wizard button is enabled, FALSE otherwise.
*/
public boolean isCancelButtonEnabled();
/**
* Sets the "Cancel" wizard button enabled or disabled.
* @param newValue TRUE to enable the "Cancel" wizard button, FALSE to
* disable it.
*/
public void setCancelButtonEnabled(boolean newValue);
/**
* Refreshes the current content of this wizard container.
*/
public void refresh();
}
|