Class WizardPage
- java.lang.Object
-
- org.nuxeo.ecm.webengine.ui.wizard.WizardPage
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WebPage
public class WizardPage extends Object implements Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BACK
static int
CANCEL
protected Form
form
protected Class<? extends Form>
formType
protected String
id
protected int
index
static int
INITIAL
static int
LAST
static int
MIDDLE
static int
NEXT
static String
NEXT_PAGE
protected String
nextPageId
static int
OK
protected WizardPage
prev
protected int
style
-
Constructor Summary
Constructors Constructor Description WizardPage(String id, Class<? extends Form> formType)
WizardPage(String id, Class<? extends Form> formType, int style)
WizardPage(String id, Class<? extends Form> formType, String nextPageId)
WizardPage(String id, Class<? extends Form> formType, String nextPageId, int style)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Form
getForm()
Class<? extends Form>
getFormType()
String
getId()
int
getIndex()
<T extends Form>
StringgetNextPage(Wizard wizard, T form)
boolean
isBackEnabled()
boolean
isCancelEnabled()
boolean
isNextEnabled()
boolean
isOkEnabled()
void
setForm(Form form)
void
setIndex(int index)
-
-
-
Field Detail
-
NEXT_PAGE
public static final String NEXT_PAGE
- See Also:
- Constant Field Values
-
NEXT
public static final int NEXT
- See Also:
- Constant Field Values
-
BACK
public static final int BACK
- See Also:
- Constant Field Values
-
CANCEL
public static final int CANCEL
- See Also:
- Constant Field Values
-
OK
public static final int OK
- See Also:
- Constant Field Values
-
INITIAL
public static final int INITIAL
- See Also:
- Constant Field Values
-
MIDDLE
public static final int MIDDLE
- See Also:
- Constant Field Values
-
LAST
public static final int LAST
- See Also:
- Constant Field Values
-
index
protected int index
-
nextPageId
protected final String nextPageId
-
style
protected final int style
-
prev
protected WizardPage prev
-
-
Constructor Detail
-
WizardPage
public WizardPage(String id, Class<? extends Form> formType)
-
WizardPage
public WizardPage(String id, Class<? extends Form> formType, int style)
-
WizardPage
public WizardPage(String id, Class<? extends Form> formType, String nextPageId)
-
WizardPage
public WizardPage(String id, Class<? extends Form> formType, String nextPageId, int style)
-
-
Method Detail
-
getFormType
public Class<? extends Form> getFormType()
-
isNextEnabled
public boolean isNextEnabled()
-
isBackEnabled
public boolean isBackEnabled()
-
isOkEnabled
public boolean isOkEnabled()
-
isCancelEnabled
public boolean isCancelEnabled()
-
setIndex
public void setIndex(int index)
-
getIndex
public int getIndex()
-
getNextPage
public <T extends Form> String getNextPage(Wizard wizard, T form)
-
-