public class BooleanEditorChip extends AbstractAttributeEditorChip implements EventCheckingChip
Boolean.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHECKBOX |
static java.lang.String |
RADIO |
static java.lang.String |
SET_VALUE |
CUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
BooleanEditorChip(DisplayState displayState,
Chip parent) |
BooleanEditorChip(DisplayState displayState,
Chip parent,
java.lang.Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue() |
java.util.Set |
getAcceptedEvents() |
java.lang.Boolean |
getBooleanValue() |
static java.lang.String |
getEditorType() |
java.lang.String |
getFalseName()
Return the unlocalized name for the 'false' value.
|
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
java.lang.String |
getMandatoryView()
Return a
String that represents the viewtype of the mandatory editor. |
java.lang.String |
getNullName()
Return the unlocalized name for the 'null' value.
|
protected java.lang.String |
getProposedUniqueName() |
java.lang.String |
getTrueName()
Return the unlocalized name for the 'true' value.
|
java.lang.Object |
getValue() |
boolean |
isAjaxUpdatable()
Returns true if this editor chip is ajax updatable.
|
boolean |
isChanged()
Overrides
AbstractAttributeEditorChip.isChanged() to treat initial null values as being equal to
Boolean.FALSE if (!) the attribute is non-optional. |
boolean |
isWrapValues()
Returns
true if the possible values should be wrapped. |
void |
processEvents(java.util.Map events)
Handles all incoming requests for this chip.
|
void |
setBooleanValue(boolean value) |
addAttributeValueChangeListener, checkValid, clearError, containsValidValue, convertAndSetValue, convertValue, getAttributeChip, getAttributeDescriptor, getAttributeValueChangeListeners, getFieldID, getHeight, getInitialValue, getLastInvalidValue, getMaxLength, getParameters, getParentEditorChip, getWidth, isEditable, isInitialized, isOptional, notifyAttributeValueChangeListeners, removeAttributeValueChangeListener, setAttributeDescriptor, setEditable, setError, setFieldID, setHeight, setInitialValue, setMaxLength, setOptional, setParameters, 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 static final java.lang.String SET_VALUE
public static final java.lang.String RADIO
public static final java.lang.String CHECKBOX
public BooleanEditorChip(DisplayState displayState, Chip parent)
public BooleanEditorChip(DisplayState displayState, Chip parent, java.lang.Boolean value)
public java.lang.String getJSPURI()
Chippublic java.lang.Boolean getBooleanValue()
public java.lang.Object getValue()
getValue in class AbstractAttributeEditorChipAbstractAttributeEditorChip.getValue()public void setBooleanValue(boolean value)
public boolean booleanValue()
public java.util.Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChipEventCheckingChip.getAcceptedEvents()public void processEvents(java.util.Map events)
ChipprocessEvents in interface Chippublic static java.lang.String getEditorType()
public java.lang.String getTrueName()
public java.lang.String getFalseName()
public java.lang.String getNullName()
public java.lang.String getMandatoryView()
String that represents the viewtype of the mandatory editor. Possble values are:
checkbox or radiopublic boolean isWrapValues()
true if the possible values should be wrapped.true if the possible values should be wrappedpublic boolean isChanged()
AbstractAttributeEditorChip.isChanged() to treat initial null values as being equal to
Boolean.FALSE if (!) the attribute is non-optional.isChanged 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 AbstractAttributeEditorChipprotected java.lang.String getProposedUniqueName()
getProposedUniqueName in class AbstractAttributeEditorChipCopyright © 2017 SAP SE. All Rights Reserved.