public class ZipEntrySelectEditorChip extends StringSelectEditorChip implements AttributeValueChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
values
Map of all zip entries.
|
HIDE_NULL, noSelectionKey, SET_VALUECUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ZipEntrySelectEditorChip(DisplayState displayState,
Chip parent)
Constructor for creating a new chip.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
calculateValues()
Determines all zip entries from parent media.
|
protected List<String> |
getAllValues()
When implementing this method, make sure that you use reasonable local caching for your values.
|
String |
getDummyEntry()
Gets the entry added to the entry list in case the media is no zip file.
|
protected Media |
getMedia()
Determines parent media using the item chip.
|
protected MediaFileUploadEditorChip |
getReferencedMediaFileUploadEditorChip()
Determines chip holding a temporary maybe in case of not saved mode.
|
String |
getStringValue(int pos) |
void |
notifyAttributeValueChange(AttributeValueChangeEvent event) |
void |
setInitialValue(Object initialValue) |
void |
setValue(Object value) |
getEditorType, setAllValues, toStringgetCount, getHeight, getJSPURI, getNoSelectionText, getSize, isAjaxUpdatable, isHideNull, isLocalized, isSelected, processEvents, setHideNull, setLocalized, setNoSelectionKey, setParameters, setSize, setSubmitForm, setValue, submitFormaddAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getValue, getWidth, 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, 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 ZipEntrySelectEditorChip(DisplayState displayState, Chip parent)
displayState - the current display state this chip belongs to.parent - the composition parent chip.protected List<String> getAllValues()
SelectLayoutChipgetAllValues in class StringSelectEditorChippublic void setInitialValue(Object initialValue)
setInitialValue in class AbstractAttributeEditorChipprotected List<String> calculateValues()
public String getStringValue(int pos)
getStringValue in class SelectLayoutChipprotected Media getMedia()
public void setValue(Object value)
setValue in class AbstractAttributeEditorChippublic void notifyAttributeValueChange(AttributeValueChangeEvent event)
notifyAttributeValueChange in interface AttributeValueChangeListenerprotected MediaFileUploadEditorChip getReferencedMediaFileUploadEditorChip()
public String getDummyEntry()
Copyright © 2017 SAP SE. All Rights Reserved.