public class ClassificationAutocompleterToolbarChip extends AbstractAutocompleterToolbarActionChip
AbstractToolbarActionChip.ToolbarActionListenerSEARCH, SELECT, VALUEaccepted, ALIGN_LEFT, ALIGN_RIGHT, PERFORMCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ClassificationAutocompleterToolbarChip(AbstractToolbarChip parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
entrySelectedByAjax(String value)
Must be implemented by extending class.
|
protected void |
entrySelectedByRequest(String value)
Must be implemented by extending class.
|
protected ClassificationAttributeSelectToolbarActionChip |
getAttributeSelector() |
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
protected OrganizerChip |
getOrganizerChip() |
boolean |
isVisible() |
protected AutoCompleterResult |
search(String searchParam)
Must be implemented by extending class.
|
getAcceptedEvents, getInputID, getJSPURI, getMatchesID, getRange, getValue, processAjaxEvents, processEvents, setRange, setValueaddActionListener, getAccessKey, getAlignment, getConfirmationMessage, getEvent, getJavaScript, getLabel, getProposedUniqueName, getToolbarType, getTooltip, getWidth, isEnabled, isPartOf, notifyActionPerformed, perform, removeActionListener, setAccessKey, setAlignment, setConfirmationMessage, setEnabled, setEvent, setJavaScript, setLabel, setShowLabel, setTooltip, setVisible, setWidth, showLabeladdEventListener, checkValid, 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, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic ClassificationAutocompleterToolbarChip(AbstractToolbarChip parent)
protected AutoCompleterResult search(String searchParam)
AbstractAutocompleterToolbarActionChipAutoCompleterResult) based on the given search parameter. In the
resulting AutoCompleterResult you should provide a String value for every result entry which is unique. This value
will not be shown in the component but will be used to trigger the AbstractAutocompleterToolbarActionChip.entrySelectedByAjax(String) callback.
Exactly how the provided string values are matched to the objects you want to be selected, is up to you. But in
case you are using the autocompleter to choose from a list of Items then you
would obviously want to use the respective item's pk, as it is the easiest way to find the item after it has been
selected.search in class AbstractAutocompleterToolbarActionChipprotected void entrySelectedByAjax(String value)
AbstractAutocompleterToolbarActionChipAutoCompleterResult entry (see AbstractAutocompleterToolbarActionChip.search(String)).entrySelectedByAjax in class AbstractAutocompleterToolbarActionChipprotected void entrySelectedByRequest(String value)
AbstractAutocompleterToolbarActionChipAutoCompleterResult entry (see AbstractAutocompleterToolbarActionChip.search(String)).entrySelectedByRequest in class AbstractAutocompleterToolbarActionChipprotected OrganizerChip getOrganizerChip()
protected ClassificationAttributeSelectToolbarActionChip getAttributeSelector()
public boolean isVisible()
isVisible in class AbstractToolbarActionChippublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractChipCopyright © 2017 SAP SE. All Rights Reserved.