public class MediaEditorChip extends GenericReferenceEditorChip
Media| Modifier and Type | Field and Description |
|---|---|
static String |
URI |
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 |
|---|
MediaEditorChip(DisplayState displayState,
Chip parent,
ComposedType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadURL() |
static String |
getEditorType() |
String |
getFileName() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getMediaCode() |
String |
getMediaCodeTitle() |
String |
getMimeType() |
String |
getRealFileName() |
String |
getURL() |
boolean |
isEmpty() |
boolean |
isHideImage()
Return true if the imaee should be hidden.
|
boolean |
isImage() |
void |
setHideImage(boolean hideImage) |
allowsMultipleSelection, checkValid, getAttributeType, openSearch, processEvents, setAttributeType, setSelectedItemsaddCreationPreset, addSearchPreset, canCreate, canPaste, getAssignableItemFromClipboard, getCreationPresets, getEditorNode, getItemType, getMenuEntries, getNoSelectionKey, getPresetSearchType, getSearchPresets, getSelectedItemAsString, hasItem, isAttributeTypeReadable, isAutoPerform, isCreatable, isElementReadable, isElementWriteable, isPartOf, isRefreshAfterSelect, openEditor, openEditor, setCreatable, setItemType, setNoSelectionKey, setParameters, setPresetSearchType, setRefreshAfterSelect, setValueaddAttributeValueChangeListener, 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, setInitialValue, 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 URI
public MediaEditorChip(DisplayState displayState, Chip parent, ComposedType type)
displayState - parent - type - public String getJSPURI()
GenericReferenceEditorChipgetJSPURI in interface ChipgetJSPURI in class GenericReferenceEditorChippublic boolean isEmpty()
public String getMimeType()
public String getFileName()
public String getRealFileName()
public String getURL()
public String getMediaCodeTitle()
public String getMediaCode()
public boolean isImage()
public boolean canReadURL()
public static String getEditorType()
public boolean isHideImage()
public void setHideImage(boolean hideImage)
hideImage - Copyright © 2017 SAP SE. All Rights Reserved.