public abstract class SelectReferenceEditorChip extends ReferenceAttributeEditorChip implements ItemAcceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
HIDE_NULL |
static String |
SELECT |
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 |
|---|
SelectReferenceEditorChip(DisplayState displayState,
Chip parent) |
SelectReferenceEditorChip(DisplayState displayState,
Chip parent,
ComposedType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsMultipleSelection() |
boolean |
canPaste() |
protected abstract List |
createPossibleValues() |
protected void |
filterNonAliveItems(Collection itemColl) |
String |
getChoiceRepresentation(int pos) |
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
List |
getMenuEntries()
Overriding
ReferenceAttributeEditorChip.getMenuEntries() since only a few entries really make sense for
this editor. |
List |
getPossibleValues() |
boolean |
isHideNull() |
boolean |
isSelected(int pos)
Returns true if the item with the given index is currently selected.
|
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
resetEntries() |
void |
setHideNull(boolean hideNull) |
void |
setInitialValue(Object initialValue) |
void |
setParameters(Map parameters)
Sets the parameters which where provided by the xml configuration.
|
void |
setSelectedItems(List items) |
addCreationPreset, addSearchPreset, canCreate, getAssignableItemFromClipboard, getCreationPresets, getEditorNode, getItemType, getNoSelectionKey, getPresetSearchType, getSearchPresets, getSelectedItemAsString, hasItem, isAttributeTypeReadable, isAutoPerform, isCreatable, isElementReadable, isElementWriteable, isPartOf, isRefreshAfterSelect, openEditor, openEditor, setCreatable, setItemType, setNoSelectionKey, setPresetSearchType, setRefreshAfterSelect, setValueaddAttributeValueChangeListener, checkValid, 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, 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 static final String SELECT
public static final String HIDE_NULL
public SelectReferenceEditorChip(DisplayState displayState, Chip parent)
public SelectReferenceEditorChip(DisplayState displayState, Chip parent, ComposedType type)
public void processEvents(Map events)
ChipprocessEvents in interface ChipprocessEvents in class ReferenceAttributeEditorChippublic String getJSPURI()
Chippublic List getPossibleValues()
protected abstract List createPossibleValues()
public void resetEntries()
protected void filterNonAliveItems(Collection itemColl)
public boolean isSelected(int pos)
public String getChoiceRepresentation(int pos)
public boolean allowsMultipleSelection()
allowsMultipleSelection in interface ItemAcceptorpublic void setSelectedItems(List items)
setSelectedItems in interface ItemAcceptorpublic void setInitialValue(Object initialValue)
setInitialValue in class AbstractAttributeEditorChippublic static String getEditorType()
public void setParameters(Map parameters)
AbstractAttributeEditorChipsetParameters in class ReferenceAttributeEditorChipparameters - the parameters which where provided by the xml configuration.public boolean isHideNull()
public void setHideNull(boolean hideNull)
public boolean canPaste()
canPaste in class ReferenceAttributeEditorChippublic List getMenuEntries()
ReferenceAttributeEditorChip.getMenuEntries() since only a few entries really make sense for
this editor.getMenuEntries in interface ChipgetMenuEntries in class ReferenceAttributeEditorChipAbstractChip.getMenuEntries()Copyright © 2017 SAP SE. All Rights Reserved.