public class DiscountValueEditorChip extends AbstractAttributeEditorChip
DiscountValueCUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
DiscountValueEditorChip(DisplayState displayState,
Chip parent) |
DiscountValueEditorChip(DisplayState displayState,
Chip parent,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
BooleanEditorChip |
getAsTargetPriceEditor() |
StringEditorChip |
getCodeEditor() |
AllInstancesSelectEditorChip |
getCurrencyEditor() |
DiscountValue |
getDiscountValue() |
static String |
getEditorType() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
static Currency |
getOrderCurrency(Chip chip) |
Object |
getValue() |
DoubleEditorChip |
getValueEditor() |
boolean |
isAjaxUpdatable()
Returns true if this editor chip is ajax updatable.
|
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setDiscountValue(DiscountValue discountValue) |
void |
setValue(Object value) |
void |
setWidth(int width) |
addAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getWidth, isChanged, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setParameters, setValidValue, 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 DiscountValueEditorChip(DisplayState displayState, Chip parent)
displayState - parent - public DiscountValueEditorChip(DisplayState displayState, Chip parent, Object value)
displayState - parent - value - public void processEvents(Map events)
ChipChip.processEvents(java.util.Map)public String getJSPURI()
ChipChip.getJSPURI()public DiscountValue getDiscountValue()
public void setDiscountValue(DiscountValue discountValue)
public void setValue(Object value)
setValue in class AbstractAttributeEditorChippublic Object getValue()
getValue in class AbstractAttributeEditorChippublic StringEditorChip getCodeEditor()
public DoubleEditorChip getValueEditor()
public AllInstancesSelectEditorChip getCurrencyEditor()
public BooleanEditorChip getAsTargetPriceEditor()
public static String getEditorType()
public void setWidth(int width)
setWidth in class AbstractAttributeEditorChippublic 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.