public abstract class AbstractGenericItemPage extends DefaultPage implements GenericItemWizardPage
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_ELEMENT_CONFIG |
protected static java.lang.String |
ERROR_SCLASS_ELEMENT_BOX_EDITOR |
protected static java.lang.String |
ERROR_SCLASS_WIZARD_CNT |
protected Div |
errorContainer |
protected static java.lang.String |
INFO_SCLASS_ELEMENT_BOX_EDITOR |
protected static java.lang.String |
INFO_SCLASS_WIZARD_CNT |
protected Div |
pageContainer |
protected Div |
pageContent |
protected static java.lang.String |
SCLASS_ELEMENT_BOX_EDITOR |
protected static java.lang.String |
WARNING_SCLASS_ELEMENT_BOX_EDITOR |
protected static java.lang.String |
WARNING_SCLASS_WIZARD_CNT |
protected static java.lang.String |
WIZARD_ERROR_CNT_SCLASS |
protected static java.lang.String |
WIZARD_PAGE_CNT_SCLASS |
protected static java.lang.String |
WIZARD_PAGE_CONTENT_CNT_SCLASS |
height, title, width, wizard| Constructor and Description |
|---|
AbstractGenericItemPage() |
AbstractGenericItemPage(java.lang.String pageTitle) |
AbstractGenericItemPage(java.lang.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 |
java.util.List<java.lang.String> |
getDisplayedAttributes() |
Div |
getErrorContainer() |
java.lang.String |
getNextPageWizardId() |
Div |
getPageContainer() |
Div |
getPageContent() |
GenericItemWizard |
getWizard() |
protected void |
handleMessages(java.util.List<Message> messages) |
int |
isCauseError(PropertyDescriptor descriptor) |
void |
setDisplayedAttributes(java.util.List<java.lang.String> displayedAttributes) |
void |
setNextPageWizardId(java.lang.String nextPageWizardId) |
getAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardprotected static final java.lang.String ERROR_SCLASS_WIZARD_CNT
protected static final java.lang.String WARNING_SCLASS_WIZARD_CNT
protected static final java.lang.String INFO_SCLASS_WIZARD_CNT
protected static final java.lang.String SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String ERROR_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String WARNING_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String INFO_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String WIZARD_PAGE_CNT_SCLASS
protected static final java.lang.String WIZARD_ERROR_CNT_SCLASS
protected static final java.lang.String WIZARD_PAGE_CONTENT_CNT_SCLASS
public static final java.lang.String CONTENT_ELEMENT_CONFIG
protected Div pageContainer
protected Div pageContent
protected Div errorContainer
public AbstractGenericItemPage()
public AbstractGenericItemPage(java.lang.String pageTitle)
public AbstractGenericItemPage(java.lang.String pageTitle,
Wizard wizard)
public java.lang.String getNextPageWizardId()
public void setNextPageWizardId(java.lang.String nextPageWizardId)
public Div getPageContainer()
public Div getErrorContainer()
public java.util.List<java.lang.String> getDisplayedAttributes()
public void setDisplayedAttributes(java.util.List<java.lang.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(java.util.List<Message> messages)
handleMessages in class DefaultPagepublic GenericItemWizard getWizard()
getWizard in interface GenericItemWizardPagegetWizard in class DefaultPageCopyright © 2018 SAP SE. All Rights Reserved.