public class NewItemsWizardPage extends AbstractNewItemWizardPage
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
WIZARD_GROUP_CONTAINER |
protected static java.lang.String |
WIZARD_GROUP_EDITOR_CONTAINER |
protected static java.lang.String |
WIZARD_GROUP_ROW_LABEL |
ERROR_SCLASS_ELEMENT_BOX_EDITOR, ERROR_SCLASS_WIZARD_CNT, errorContainer, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR, WIZARD_ERROR_CNT_SCLASS, WIZARD_PAGE_CNT_SCLASS, WIZARD_PAGE_CONTENT_CNT_SCLASSheight, title, width, wizard| Constructor and Description |
|---|
NewItemsWizardPage() |
| Modifier and Type | Method and Description |
|---|---|
Component |
createContent(WizardPage page,
WizardPageController controller)
This is an general method responsible for creating UI representation of given page
Note:
Here we should create graphical representation of particular page |
protected Component |
createGroupRow(Component parent,
PropertyDescriptor descriptor,
java.lang.String editorCode,
boolean error,
java.util.Map<java.lang.String,java.lang.Object> params)
Creates one single row for group on that page.
|
protected void |
createGroupSectionContent(HtmlBasedComponent group,
java.util.Collection<java.lang.String> alreadyDisplayedProperties,
java.util.Collection<java.lang.String> displayedDescriptors,
WizardConfiguration wizardConfiguration)
Creates a group content accordingly to given parameters
|
protected java.util.List<java.lang.String> |
extractPropertyQualifiers(java.util.List<PropertyDescriptor> propertyDescriptors) |
WizardPageController |
getController() |
protected java.lang.String |
getDescriptorLabel(PropertyDescriptor descriptor,
java.util.Map<java.lang.String,java.lang.Object> params) |
java.util.List<java.lang.String> |
getDisplayedAttributes() |
java.util.List<PropertyDescriptor> |
getRequiredPropertyDescriptors() |
protected UIConfigurationService |
getUIConfigurationService() |
AbstractNewItemsWizard |
getWizard() |
protected WizardConfiguration |
getWizardConfiguration() |
protected java.lang.String |
getWizardConfigurationCode() |
protected java.lang.String |
getWizardConfigurationType() |
boolean |
isDisableAutoPersist() |
protected boolean |
isRequiredProperty(PropertyDescriptor descriptor,
WizardConfiguration wizardConfig) |
protected void |
loadInitConfigValues(PropertyDescriptor descriptor,
WizardConfiguration wizardConfig)
Method loads initial values that can be defined within
WizardConfiguration
|
protected void |
render(HtmlBasedComponent parent)
Main method that is used for render whole page's content (i.e.
|
void |
setDisableAutoPersist(boolean disableAutoPersist) |
void |
setWizardConfigurationCode(java.lang.String wizardConfigurationCode) |
void |
setWizardConfigurationType(java.lang.String wizardConfigurationType) |
clearPageComponents, getCockpitTypeService, getErrorContainer, getModelService, getNextPageWizardId, getPageContainer, getPageContent, getSystemService, handleMessages, isCauseError, setCockpitTypeService, setDisplayedAttributes, setModelService, setNextPageWizardId, setSystemServicegetAttributes, getComponentURI, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardprotected static final java.lang.String WIZARD_GROUP_CONTAINER
protected static final java.lang.String WIZARD_GROUP_EDITOR_CONTAINER
protected static final java.lang.String WIZARD_GROUP_ROW_LABEL
protected java.lang.String getWizardConfigurationType()
public void setWizardConfigurationType(java.lang.String wizardConfigurationType)
protected java.lang.String getWizardConfigurationCode()
public void setWizardConfigurationCode(java.lang.String wizardConfigurationCode)
public boolean isDisableAutoPersist()
public void setDisableAutoPersist(boolean disableAutoPersist)
public AbstractNewItemsWizard getWizard()
getWizard in class DefaultPagepublic WizardPageController getController()
getController in interface WizardPagegetController in class DefaultPagepublic Component createContent(WizardPage page, WizardPageController controller)
AbstractNewItemWizardPagecreateContent in class AbstractNewItemWizardPageprotected void render(HtmlBasedComponent parent)
WizardConfiguration)
parent - component org.zkoss.zk.ui.HtmlBasedComponentprotected void createGroupSectionContent(HtmlBasedComponent group,
java.util.Collection<java.lang.String> alreadyDisplayedProperties,
java.util.Collection<java.lang.String> displayedDescriptors,
WizardConfiguration wizardConfiguration)
group - parent @{link org.zkoss.zk.ui.HtmlBasedComponentalreadyDisplayedProperties - properties already displayeddisplayedDescriptors - properties that should be displayed for that groupwizardConfiguration - wizard configurationprotected void loadInitConfigValues(PropertyDescriptor descriptor, WizardConfiguration wizardConfig)
WizardConfiguration
descriptor - property descriptorwizardConfig - current wizard configurationprotected Component createGroupRow(Component parent,
PropertyDescriptor descriptor,
java.lang.String editorCode,
boolean error,
java.util.Map<java.lang.String,java.lang.Object> params)
parent - parent component org.zkoss.zk.ui.HtmlBasedComponentdescriptor - property descriptor for which editor should be displayededitorCode - editor code that should be used for displaying given propertieserror - is this property causing errorparams - configuration parametersprotected java.lang.String getDescriptorLabel(PropertyDescriptor descriptor, java.util.Map<java.lang.String,java.lang.Object> params)
protected java.util.List<java.lang.String> extractPropertyQualifiers(java.util.List<PropertyDescriptor> propertyDescriptors)
public java.util.List<java.lang.String> getDisplayedAttributes()
getDisplayedAttributes in class AbstractNewItemWizardPageprotected UIConfigurationService getUIConfigurationService()
protected WizardConfiguration getWizardConfiguration()
public java.util.List<PropertyDescriptor> getRequiredPropertyDescriptors()
protected boolean isRequiredProperty(PropertyDescriptor descriptor, WizardConfiguration wizardConfig)
Copyright © 2018 SAP SE. All Rights Reserved.