public class ItemCreateTypeSelectChip extends AbstractChip implements NamedChip, EventCheckingChip
| Modifier and Type | Field and Description |
|---|---|
protected Set |
_accepted |
static String |
CREATE |
static String |
TYPECODE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ItemCreateTypeSelectChip(Chip parent,
Map initialValues,
Collection typeEntries,
AttributeChip openingAttributeChip,
AbstractAttributeEditorChip openingEditorChip) |
ItemCreateTypeSelectChip(Chip parent,
Map initialValues,
ComposedType commonSuperType,
AttributeChip openingAttributeChip,
AbstractAttributeEditorChip openingEditorChip) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
create() |
Set |
getAcceptedEvents() |
ComposedType |
getCommonSuperType() |
String |
getCurrentTypeCode() |
Map |
getInitialValues() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getModalFDQualifier()
Returns the qualifier of the attribute of the modal opener item, if one was set.
|
Language |
getModalLanguage()
Returns the modal opener language, if one was set.
|
ItemChip |
getModalOpener()
Returns the modal opener item chip, if one was set.
|
String |
getName() |
AttributeChip |
getOpeningAttributeChip() |
AbstractAttributeEditorChip |
getOpeningEditorChip() |
ComposedType |
getSelectedType()
Returns the currently selected type.
|
Collection |
getTypeEntries()
Returns a list of
TypeEntry instances |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setCommonSuperType(ComposedType commonSuperType) |
void |
setInitialValues(Map initialValues) |
void |
setModalReference(ItemChip openerItemChip,
String openerAttributeQualifier)
Sets the ItemChip which opened this creator and the attributequalifier of the item.
|
void |
setModalReference(ItemChip openerItemChip,
String openerAttributeQualifier,
Language openerLanguage)
Sets the ItemChip which opened this creator, the attributequalifier of the item and the language, if it is a
localized attribute.
|
void |
setOpeningAttributeChip(AttributeChip openingAttributeChip) |
void |
setOpeningEditorChip(AbstractAttributeEditorChip openingEditorChip) |
void |
setSelectedType(ComposedType type) |
void |
setTypeEntries(Collection types) |
addEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String CREATE
public static final String TYPECODE
protected Set _accepted
public ItemCreateTypeSelectChip(Chip parent, Map initialValues, ComposedType commonSuperType, AttributeChip openingAttributeChip, AbstractAttributeEditorChip openingEditorChip)
public ItemCreateTypeSelectChip(Chip parent, Map initialValues, Collection typeEntries, AttributeChip openingAttributeChip, AbstractAttributeEditorChip openingEditorChip)
parent - initialValues - typeEntries - openingAttributeChip - openingEditorChip - public String getJSPURI()
public Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChippublic void processEvents(Map events)
processEvents in interface Chipprotected void create()
public Collection getTypeEntries()
TypeEntry instancespublic void setTypeEntries(Collection types)
public String getCurrentTypeCode()
public ComposedType getSelectedType()
public void setSelectedType(ComposedType type)
public void setModalReference(ItemChip openerItemChip, String openerAttributeQualifier)
openerItemChip - the ItemChip from which this create chip has been openedopenerAttributeQualifier - the qualifier of the attribute for which a new item is to be createdpublic void setModalReference(ItemChip openerItemChip, String openerAttributeQualifier, Language openerLanguage)
openerItemChip - the ItemChip from which this create chip has been openedopenerAttributeQualifier - the qualifier of the attribute for which a new item is to be createdopenerLanguage - the Language for which to create the item (if the attribute is localizable, may be null if not)public String getModalFDQualifier()
public ItemChip getModalOpener()
public Language getModalLanguage()
public ComposedType getCommonSuperType()
public void setCommonSuperType(ComposedType commonSuperType)
commonSuperType - The commonSuperType to set.public Map getInitialValues()
public void setInitialValues(Map initialValues)
public AttributeChip getOpeningAttributeChip()
public void setOpeningAttributeChip(AttributeChip openingAttributeChip)
openingAttributeChip - The openingAttributeChip to set.public AbstractAttributeEditorChip getOpeningEditorChip()
public void setOpeningEditorChip(AbstractAttributeEditorChip openingEditorChip)
openingEditorChip - The openingEditorChip to set.Copyright © 2017 SAP SE. All Rights Reserved.