public class DateEditorChip extends StringLayoutChip
Date.SET_VALUECUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
DateEditorChip(DisplayState displayState,
Chip parent) |
DateEditorChip(DisplayState displayState,
Chip parent,
java.util.Date value) |
DateEditorChip(DisplayState displayState,
Chip parent,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.text.DateFormat |
getDateFormat() |
java.lang.String |
getDatePattern() |
int |
getDateWidth() |
static java.lang.String |
getEditorType() |
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
java.lang.String |
getScriptDateFormat() |
boolean |
isShowPattern() |
protected java.lang.Object |
parse(java.lang.String value)
Parses the given String into an Object.
|
void |
setParameters(java.util.Map parameters)
Sets the parameters which where provided by the xml configuration.
|
void |
setShowPattern(boolean showPattern) |
protected java.lang.String |
toString(java.lang.Object string)
Returns the given value as String.
|
convertValue, getAcceptedEvents, getQuotedStringValue, getStringValue, isAjaxUpdatable, isAlignRight, isDBEncrypted, isEncoded, processEvents, setAlignRight, setEncodedaddAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getProposedUniqueName, getValue, getWidth, isChanged, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setValidValue, setValue, 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, 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 DateEditorChip(DisplayState displayState, Chip parent)
public DateEditorChip(DisplayState displayState, Chip parent, java.util.Date value)
public DateEditorChip(DisplayState displayState, Chip parent, java.lang.Object value)
protected java.lang.Object parse(java.lang.String value)
throws java.text.ParseException
StringLayoutChipparse in class StringLayoutChipjava.text.ParseExceptionprotected java.lang.String toString(java.lang.Object string)
StringLayoutChiptoString in class StringLayoutChipprotected java.text.DateFormat getDateFormat()
public java.lang.String getDatePattern()
public java.lang.String getScriptDateFormat()
public java.lang.String getJSPURI()
ChipgetJSPURI in interface ChipgetJSPURI in class StringLayoutChippublic static java.lang.String getEditorType()
public int getDateWidth()
public boolean isShowPattern()
public void setShowPattern(boolean showPattern)
public void setParameters(java.util.Map parameters)
AbstractAttributeEditorChipsetParameters in class StringLayoutChipparameters - the parameters which where provided by the xml configuration.Copyright © 2017 SAP SE. All Rights Reserved.