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 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,
Map attributes,
String jspURI) |
| Modifier and Type | Method and Description |
|---|---|
GenericReferenceListEditorChip |
getDocumentListChip() |
protected GenericReferenceListEditorChip |
getDocumentListChip(Format format) |
int |
getDocumentsWidth() |
static String |
getFormatDisplayString(Format format) |
protected List |
getFormatList() |
SimpleSelectLayoutChip |
getFormatSelectionEditorChip() |
int |
getFormatsWidth() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
int |
getLabelWidth() |
boolean |
isChanged() |
boolean |
isCreateButtonActive() |
boolean |
isEditable() |
void |
processEvents(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 String CREATE_DOCUMENT
public DocumentEditorChip(DisplayState displayState, Chip parent, Map attributes, String jspURI)
public void processEvents(Map events)
ChipprocessEvents in interface ChipprocessEvents in class CustomChippublic 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 List getFormatList()
public boolean isEditable()
public boolean isCreateButtonActive()
public SimpleSelectLayoutChip getFormatSelectionEditorChip()
public GenericReferenceListEditorChip getDocumentListChip()
protected GenericReferenceListEditorChip getDocumentListChip(Format format)
public boolean isChanged()
isChanged in interface ChangeIndicatorChipCopyright © 2017 SAP SE. All Rights Reserved.