public class SubTypeSelectEditorChip extends AbstractAttributeEditorChip
| Modifier and Type | Field and Description |
|---|---|
static String |
CLEAR |
static String |
OPEN_EDITOR |
static String |
SET_VALUE |
CUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
SubTypeSelectEditorChip(DisplayState displayState,
Chip parent) |
SubTypeSelectEditorChip(DisplayState displayState,
Chip parent,
Item value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentTypeCode() |
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getSelectedItemAsString() |
protected ComposedType |
getType() |
List |
getTypeEntries() |
Object |
getValue() |
boolean |
hasItem() |
boolean |
isAjaxUpdatable()
Returns true if this editor chip is ajax updatable.
|
boolean |
isElementReadable() |
boolean |
isElementWriteable() |
boolean |
isOptional() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setType(ComposedType type) |
void |
setValue(Object object) |
addAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getWidth, isChanged, isEditable, isInitialized, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setParameters, 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 static final String SET_VALUE
public static final String CLEAR
public static final String OPEN_EDITOR
public SubTypeSelectEditorChip(DisplayState displayState, Chip parent)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.public SubTypeSelectEditorChip(DisplayState displayState, Chip parent, Item value)
displayState - The current displaystate this chip belongs to.parent - The composition parent chip.value - public boolean hasItem()
public String getSelectedItemAsString()
public boolean isElementReadable()
public boolean isElementWriteable()
public boolean isOptional()
isOptional in class AbstractAttributeEditorChippublic void processEvents(Map events)
Chippublic String getJSPURI()
Chippublic Object getValue()
getValue in class AbstractAttributeEditorChippublic void setValue(Object object)
setValue in class AbstractAttributeEditorChippublic void setType(ComposedType type)
protected ComposedType getType()
public List getTypeEntries()
public String getCurrentTypeCode()
public static String getEditorType()
public boolean isAjaxUpdatable()
AbstractAttributeEditorChipLocalizableAttributeChip to indicate
that the editorchip's jsp only uses the usual form input elements and no other special functionality to update its
values (like the wysiwyg editor which uses the 'onsubmit' handler to update its value).isAjaxUpdatable in class AbstractAttributeEditorChipCopyright © 2017 SAP SE. All Rights Reserved.