public class DocumentEditorChip extends CustomChip implements SpecialSaveChip, SpecialReloadChip, ChangeIndicatorChip
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentEditorChip.FormatComparator |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CREATE_DOCUMENT |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
DocumentEditorChip(DisplayState displayState,
Chip parent,
java.util.Map attributes,
java.lang.String jspURI) |
| Modifier and Type | Method and Description |
|---|---|
GenericReferenceListEditorChip |
getDocumentListChip() |
protected GenericReferenceListEditorChip |
getDocumentListChip(Format format) |
int |
getDocumentsWidth() |
static java.lang.String |
getFormatDisplayString(Format format) |
protected java.util.List |
getFormatList() |
SimpleSelectLayoutChip |
getFormatSelectionEditorChip() |
int |
getFormatsWidth() |
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
int |
getLabelWidth() |
boolean |
isChanged() |
boolean |
isCreateButtonActive() |
boolean |
isEditable() |
void |
processEvents(java.util.Map events)
Handles all incoming requests for this chip.
|
void |
reload() |
void |
save() |
getAttributes, getDefaultJSPURI, getParameter, getParametersaddEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, 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, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final java.lang.String CREATE_DOCUMENT
public DocumentEditorChip(DisplayState displayState, Chip parent, java.util.Map attributes, java.lang.String jspURI)
public void processEvents(java.util.Map events)
ChipprocessEvents in interface ChipprocessEvents in class CustomChippublic java.lang.String getJSPURI()
ChipgetJSPURI in interface ChipgetJSPURI in class CustomChippublic void save()
save in interface SpecialSaveChippublic void reload()
reload in interface SpecialReloadChippublic int getDocumentsWidth()
public int getFormatsWidth()
public int getLabelWidth()
protected java.util.List getFormatList()
public boolean isEditable()
public boolean isCreateButtonActive()
public SimpleSelectLayoutChip getFormatSelectionEditorChip()
public static java.lang.String getFormatDisplayString(Format format)
public GenericReferenceListEditorChip getDocumentListChip()
protected GenericReferenceListEditorChip getDocumentListChip(Format format)
public boolean isChanged()
isChanged in interface ChangeIndicatorChipCopyright © 2017 SAP SE. All Rights Reserved.