public class GenericReferenceEditorChip extends ReferenceAttributeEditorChip implements ItemAcceptor, AttributeTypeAware
Item.CLEAR, COPY, CREATABLE_KEY, CREATE, EDITABLE_KEY, OPEN_EDITOR, OPEN_EDITOR_INTERNAL, OPEN_SEARCH, PASTECUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
GenericReferenceEditorChip(DisplayState displayState,
Chip parent) |
GenericReferenceEditorChip(DisplayState displayState,
Chip parent,
ComposedType type) |
GenericReferenceEditorChip(DisplayState displayState,
Chip parent,
ComposedType type,
Item initialValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsMultipleSelection() |
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
Type |
getAttributeType() |
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
void |
openSearch() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setAttributeType(Type type) |
void |
setSelectedItems(List items) |
addCreationPreset, addSearchPreset, canCreate, canPaste, getAssignableItemFromClipboard, getCreationPresets, getEditorNode, getItemType, getMenuEntries, getNoSelectionKey, getPresetSearchType, getSearchPresets, getSelectedItemAsString, hasItem, isAttributeTypeReadable, isAutoPerform, isCreatable, isElementReadable, isElementWriteable, isPartOf, isRefreshAfterSelect, openEditor, openEditor, setCreatable, setItemType, setNoSelectionKey, setParameters, setPresetSearchType, setRefreshAfterSelect, setValueaddAttributeValueChangeListener, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getValue, getWidth, isAjaxUpdatable, isChanged, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setValidValue, setWidth, valuesAreDifferentaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getNameSpace, getNameSpaceFor, getParent, 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, translateFormFieldToEventValuepublic GenericReferenceEditorChip(DisplayState displayState, Chip parent, ComposedType type, Item initialValue)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.type - the type the new reference should haveinitialValue - the initial value. Must not be null.public GenericReferenceEditorChip(DisplayState displayState, Chip parent, ComposedType type)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.type - the type the new reference should havepublic GenericReferenceEditorChip(DisplayState displayState, Chip parent)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractAttributeEditorChippublic String getJSPURI()
public void processEvents(Map events)
processEvents in interface ChipprocessEvents in class ReferenceAttributeEditorChippublic void openSearch()
public void setSelectedItems(List items)
setSelectedItems in interface ItemAcceptorpublic boolean allowsMultipleSelection()
allowsMultipleSelection in interface ItemAcceptorpublic static String getEditorType()
public Type getAttributeType()
getAttributeType in interface AttributeTypeAwarepublic void setAttributeType(Type type)
setAttributeType in interface AttributeTypeAwareCopyright © 2017 SAP SE. All Rights Reserved.