public class BooleanEditorChip extends AbstractAttributeEditorChip implements EventCheckingChip
Boolean.| Modifier and Type | Field and Description |
|---|---|
static String |
CHECKBOX |
static String |
RADIO |
static 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,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue() |
Set |
getAcceptedEvents() |
Boolean |
getBooleanValue() |
static String |
getEditorType() |
String |
getFalseName()
Return the unlocalized name for the 'false' value.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getMandatoryView()
Return a
String that represents the viewtype of the mandatory editor. |
String |
getNullName()
Return the unlocalized name for the 'null' value.
|
protected String |
getProposedUniqueName() |
String |
getTrueName()
Return the unlocalized name for the 'true' value.
|
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(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 String SET_VALUE
public static final String RADIO
public static final String CHECKBOX
public BooleanEditorChip(DisplayState displayState, Chip parent)
public BooleanEditorChip(DisplayState displayState, Chip parent, Boolean value)
public String getJSPURI()
Chippublic Boolean getBooleanValue()
public Object getValue()
getValue in class AbstractAttributeEditorChipAbstractAttributeEditorChip.getValue()public void setBooleanValue(boolean value)
public boolean booleanValue()
public Set getAcceptedEvents()
getAcceptedEvents in interface EventCheckingChipEventCheckingChip.getAcceptedEvents()public void processEvents(Map events)
ChipprocessEvents in interface Chippublic static String getEditorType()
public String getTrueName()
public String getFalseName()
public String getNullName()
public 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 String getProposedUniqueName()
getProposedUniqueName in class AbstractAttributeEditorChipCopyright © 2017 SAP SE. All Rights Reserved.