public class EnumClassificationAttributeEditorChip extends AbstractClassificationAttributeEditorChip
ADD, ATTRIBUTE_WIDTH, DEFAULT_EDITORWIDTH, DEFAULT_UNIT_WIDTH, REMOVE, UNIT_WIDTHCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
EnumClassificationAttributeEditorChip(SessionContext context,
Chip parent,
Map<String,String> xmlAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertValue(Object value)
If the given value is not of type
ClassificationAttributeValue the default value, which is 'null', will be
returned. |
protected AbstractAttributeEditorChip |
createValueEditorChip()
Implementation of this method should create a new value editor.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
protected Collection<ClassificationAttributeValue> |
getPossibleValues() |
void |
setFeature(TypedFeature<Object> feature)
Overrides
AbstractClassificationAttributeEditorChip.setFeature(TypedFeature) to additionally store all
possbile feature values. |
protected void |
setPossibleValues(Collection<ClassificationAttributeValue> possibleValues) |
protected boolean |
supportUnits()
Returns false.
|
addValue, addValue, containsValidValue, createDescriptionEditor, createDescriptionEditorChip, createUnitEditor, createUnitEditorChip, createValueEditor, getClassAttributeAssignment, getContext, getDefaultUnit, getDescriptionEditorChips, getEditorWidth, getFeature, getMenuEntries, getSelectableUnitsForAttribute, getTooltip, getUnitEditorChips, getUnitEditorWidth, getValueEditorChips, getXmlAttributes, hasUnitEditor, isChanged, isEditable, isMandatory, isMultiValued, isRange, notifyAttributeValueChange, notifyDesciptionEditorChanged, notifyUnitEditorChanged, notifyValueEditorChanged, processEvents, removeValue, setEditable, setIsChangedaddEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, 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, translateFormFieldToEventValuepublic EnumClassificationAttributeEditorChip(SessionContext context, Chip parent, Map<String,String> xmlAttributes)
public final void setFeature(TypedFeature<Object> feature)
AbstractClassificationAttributeEditorChip.setFeature(TypedFeature) to additionally store all
possbile feature values.setFeature in class AbstractClassificationAttributeEditorChipfeature - the TypedFeature this editor represents.public String getJSPURI()
ChipChip.getJSPURI()protected Collection<ClassificationAttributeValue> getPossibleValues()
protected void setPossibleValues(Collection<ClassificationAttributeValue> possibleValues)
protected AbstractAttributeEditorChip createValueEditorChip()
AbstractClassificationAttributeEditorChipcreateValueEditorChip in class AbstractClassificationAttributeEditorChipprotected Object convertValue(Object value)
ClassificationAttributeValue the default value, which is 'null', will be
returned.convertValue in class AbstractClassificationAttributeEditorChipvalue - the value to be converted (if necessary)AbstractClassificationAttributeEditorChip.convertValue(java.lang.Object)protected boolean supportUnits()
supportUnits in class AbstractClassificationAttributeEditorChipAbstractClassificationAttributeEditorChip.supportUnits()Copyright © 2017 SAP SE. All Rights Reserved.