public class ReferenceMultiSelectEditorChip extends AbstractAttributeEditorChip
| Modifier and Type | Field and Description |
|---|---|
static String |
PING |
static String |
SET_VALUE |
CUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ReferenceMultiSelectEditorChip(DisplayState displayState,
Chip parent,
CollectionType type) |
| Modifier and Type | Method and Description |
|---|---|
protected List |
createPossibleEntries() |
CollectionType |
getCollectionType() |
String |
getDisplayString(Object item) |
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
List |
getPossibleEntries()
Returns all the possible entries for this editor.
|
String |
getSelectionOfAttributeQualifier()
Returns the qualifier of the attribute in which the 'source items' of this editor are found (i.e.
|
int |
getSize()
Returns the size of the select box (the number of visible rows).
|
int |
indexOf(Object item)
Returns the index of the given item within the 'possible entries' list.
|
boolean |
isAjaxUpdatable()
Returns true if this editor chip is ajax updatable.
|
boolean |
isItemSelected(Object item)
Returns true if the given item is selected.
|
void |
processEvents(Map events)
Process the
SET_VALUE event by which the selected values are added to this editor's collection value. |
void |
setCollectionType(CollectionType collectionType) |
void |
setPossibleEntries(List possibleEntries) |
void |
setSelectionOfAttributeQualifier(String selectionOfAttributeQualifier) |
void |
setSize(int size)
Sets the size of the select box (the number of visible rows).
|
addAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getValue, getWidth, isChanged, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setParameters, setValidValue, setValue, setWidth, valuesAreDifferentaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, 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 SET_VALUE
public static final String PING
public ReferenceMultiSelectEditorChip(DisplayState displayState, Chip parent, CollectionType type)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.type - The type of the new value, must not be null.public void processEvents(Map events)
SET_VALUE event by which the selected values are added to this editor's collection value.public String getJSPURI()
Chippublic CollectionType getCollectionType()
public void setCollectionType(CollectionType collectionType)
protected List createPossibleEntries()
public List getPossibleEntries()
public void setPossibleEntries(List possibleEntries)
getPossibleEntries()public int indexOf(Object item)
item - the Item for which to find the indexpublic boolean isItemSelected(Object item)
public int getSize()
public void setSize(int size)
size - The size to set.public String getSelectionOfAttributeQualifier()
public void setSelectionOfAttributeQualifier(String selectionOfAttributeQualifier)
public boolean isAjaxUpdatable()
AbstractAttributeEditorChipLocalizableAttributeChip to indicate
that the editorchip's jsp only uses the usual form input elements and no other special functionality to update its
values (like the wysiwyg editor which uses the 'onsubmit' handler to update its value).isAjaxUpdatable in class AbstractAttributeEditorChippublic static String getEditorType()
Copyright © 2017 SAP SE. All Rights Reserved.