public abstract class AbstractGenericItemPage extends DefaultPage implements GenericItemWizardPage
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_ELEMENT_CONFIG |
protected static String |
ERROR_SCLASS_ELEMENT_BOX_EDITOR |
protected static String |
ERROR_SCLASS_WIZARD_CNT |
protected Div |
errorContainer |
protected static String |
INFO_SCLASS_ELEMENT_BOX_EDITOR |
protected static String |
INFO_SCLASS_WIZARD_CNT |
protected Div |
pageContainer |
protected Div |
pageContent |
protected static String |
SCLASS_ELEMENT_BOX_EDITOR |
protected static String |
WARNING_SCLASS_ELEMENT_BOX_EDITOR |
protected static String |
WARNING_SCLASS_WIZARD_CNT |
protected static String |
WIZARD_ERROR_CNT_SCLASS |
protected static String |
WIZARD_PAGE_CNT_SCLASS |
protected static String |
WIZARD_PAGE_CONTENT_CNT_SCLASS |
height, title, width, wizard| Constructor and Description |
|---|
AbstractGenericItemPage() |
AbstractGenericItemPage(String pageTitle) |
AbstractGenericItemPage(String pageTitle,
Wizard wizard) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearPageComponents() |
abstract Component |
createRepresentationItself()
This is an general method responsible for creating UI representation of given page
Note:
Here we should create graphical representation of particular page |
List<String> |
getDisplayedAttributes() |
Div |
getErrorContainer() |
String |
getNextPageWizardId() |
Div |
getPageContainer() |
Div |
getPageContent() |
GenericItemWizard |
getWizard() |
protected void |
handleMessages(List<Message> messages) |
int |
isCauseError(PropertyDescriptor descriptor) |
void |
setDisplayedAttributes(List<String> displayedAttributes) |
void |
setNextPageWizardId(String nextPageWizardId) |
getAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardprotected static final String ERROR_SCLASS_WIZARD_CNT
protected static final String WARNING_SCLASS_WIZARD_CNT
protected static final String INFO_SCLASS_WIZARD_CNT
protected static final String SCLASS_ELEMENT_BOX_EDITOR
protected static final String ERROR_SCLASS_ELEMENT_BOX_EDITOR
protected static final String WARNING_SCLASS_ELEMENT_BOX_EDITOR
protected static final String INFO_SCLASS_ELEMENT_BOX_EDITOR
protected static final String WIZARD_PAGE_CNT_SCLASS
protected static final String WIZARD_ERROR_CNT_SCLASS
protected static final String WIZARD_PAGE_CONTENT_CNT_SCLASS
public static final String CONTENT_ELEMENT_CONFIG
protected Div pageContainer
protected Div pageContent
protected Div errorContainer
public AbstractGenericItemPage()
public AbstractGenericItemPage(String pageTitle)
public String getNextPageWizardId()
public void setNextPageWizardId(String nextPageWizardId)
public Div getPageContainer()
public Div getErrorContainer()
public List<String> getDisplayedAttributes()
public void setDisplayedAttributes(List<String> displayedAttributes)
displayedAttributes - the displayedAttributes to setpublic Div getPageContent()
protected void clearPageComponents()
public abstract Component createRepresentationItself()
createRepresentationItself in interface GenericItemWizardPagepublic int isCauseError(PropertyDescriptor descriptor)
protected void handleMessages(List<Message> messages)
handleMessages in class DefaultPagepublic GenericItemWizard getWizard()
getWizard in interface GenericItemWizardPagegetWizard in class DefaultPageCopyright © 2017 SAP SE. All Rights Reserved.