public class TypeSelectToolbarActionChip extends AbstractSelectToolbarActionChip implements ComposedTypeChangeListener
AbstractSelectToolbarActionChipAbstractSelectToolbarActionChip.Entry, AbstractSelectToolbarActionChip.EntryComparatorAbstractToolbarActionChip.ToolbarActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
OPEN_TYPE_EXT |
static String |
OPEN_TYPE_INT |
URIaccepted, ALIGN_LEFT, ALIGN_RIGHT, PERFORMCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
TypeSelectToolbarActionChip(DisplayState displayState,
AbstractToolbarChip parent,
String label,
String event,
String javascript,
ComposedType type)
Creates a new TypeSelectToolbarActionChip which will be filled with the given type
|
| Modifier and Type | Method and Description |
|---|---|
void |
composedTypeChanged(ComposedTypeChangeEvent event)
Notifies this chip of a search type change.
|
protected List |
createEntries()
Takes the typeEntries and creates the appropriate select entries for this selector.
|
void |
filterTypes(String presetAttributeQualifier,
ComposedType presetAttributeType)
Removes all type entries in this selector where the given attribute qualifier either does not exist or is an
incompatible type (when compared with the given type).
|
Set |
getAcceptedEvents() |
List |
getEntries()
Overrides
AbstractSelectToolbarActionChip.getEntries() to filter incompatible type entries. |
Set |
getFilteredEntries() |
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
protected String |
getProposedUniqueName() |
ComposedType |
getSelectedType() |
void |
processEvents(Map events)
If the event of this selector is found, the appropriate entry will be selected.
|
void |
setSelectedType(ComposedType type)
Sets the currently selected type.
|
assureUniqueDisplayValues, containsDisplayValue, containsValue, getComparator, getDefaultSelectedEntry, getEntryByDisplayValue, getEntryByValue, getJSPURI, getSelectedEntry, getSelectedValue, isButtonPushed, isCommandAction, isEmpty, isEnabled, isSelected, isSelected, resetEntries, setCommandAction, setComparator, setSelectedEntry, setSelectedEntryByDisplayValue, setSelectedValue, setUseComparator, useComparatoraddActionListener, getAccessKey, getAlignment, getConfirmationMessage, getEvent, getJavaScript, getLabel, getToolbarType, getTooltip, getWidth, isPartOf, isVisible, 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, 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 static final String OPEN_TYPE_EXT
public static final String OPEN_TYPE_INT
public TypeSelectToolbarActionChip(DisplayState displayState, AbstractToolbarChip parent, String label, String event, String javascript, ComposedType type)
displayState - parent - label - event - javascript - type - public Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChipgetAcceptedEvents in class AbstractToolbarActionChipprotected List createEntries()
createEntries in class AbstractSelectToolbarActionChippublic ComposedType getSelectedType()
public void setSelectedType(ComposedType type)
type - public List getEntries()
AbstractSelectToolbarActionChip.getEntries() to filter incompatible type entries.getEntries in class AbstractSelectToolbarActionChippublic void filterTypes(String presetAttributeQualifier, ComposedType presetAttributeType)
public Set getFilteredEntries()
public void processEvents(Map events)
AbstractSelectToolbarActionChipprocessEvents in interface ChipprocessEvents in class AbstractSelectToolbarActionChippublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractChipprotected String getProposedUniqueName()
getProposedUniqueName in class AbstractToolbarActionChippublic void composedTypeChanged(ComposedTypeChangeEvent event)
composedTypeChanged in interface ComposedTypeChangeListenerComposedTypeChangeListener.composedTypeChanged(de.hybris.platform.hmc.generic.ComposedTypeChangeEvent)Copyright © 2017 SAP SE. All Rights Reserved.