public class BooleanClassificationAttributeEditorChip 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 |
|---|
BooleanClassificationAttributeEditorChip(SessionContext context,
Chip parent,
Map<String,String> xmlAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertValue(Object value)
If necessary the given value will be converted to a Boolean object.
|
protected AbstractAttributeEditorChip |
createValueEditorChip()
Creates a new boolean editor containing the given initial value.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
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, setFeature, 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 BooleanClassificationAttributeEditorChip(SessionContext context, Chip parent, Map<String,String> xmlAttributes)
protected AbstractAttributeEditorChip createValueEditorChip()
createValueEditorChip in class AbstractClassificationAttributeEditorChippublic String getJSPURI()
ChipChip.getJSPURI()protected Object convertValue(Object value)
Boolean.TRUE only if they are equal to "true" (ignoring case). In all other
cases they will be converted to [@link Boolean#FALSE}.ClassificationAttributeValues) will be converted to
Boolean.TRUE only if their code equals "true" (ignoring case). All other values will be converted to false.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.