public class AdvanceBooleanEditorChip extends BooleanEditorChip
CHECKBOX, RADIO, SET_VALUECUSTOM, DEFAULT_HEIGHTCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AdvanceBooleanEditorChip(DisplayState displayState,
Chip parent) |
AdvanceBooleanEditorChip(DisplayState displayState,
Chip parent,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEditorType() |
String |
getFalseName()
Return the unlocalized name for the 'false' value.
|
String |
getMandatoryView()
Return a
String that represents the viewtype of the mandatory editor. |
String |
getNullName()
Return the unlocalized name for the 'null' value.
|
String |
getTrueName()
Return the unlocalized name for the 'true' value.
|
boolean |
isWrapValues()
Returns
true if the possible values should be wrapped. |
void |
setFalseName(String falseName) |
void |
setNullName(String nullName) |
void |
setParameters(Map params)
Sets the parameters which where provided by the xml configuration.
|
void |
setTrueName(String trueName) |
void |
setUseSelectBox(boolean useSelectBox)
If set to true the editor will be shown as a selectbox containing the possible values rather than checkboxes or
radiobuttons
|
void |
setWrapValues(boolean wrapValues) |
boolean |
useSelectBox() |
booleanValue, getAcceptedEvents, getBooleanValue, getJSPURI, getProposedUniqueName, getValue, isAjaxUpdatable, isChanged, processEvents, setBooleanValueaddAttributeValueChangeListener, 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, 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 AdvanceBooleanEditorChip(DisplayState displayState, Chip parent)
displayState - parent - public AdvanceBooleanEditorChip(DisplayState displayState, Chip parent, Boolean value)
displayState - parent - value - public static String getEditorType()
public String getFalseName()
BooleanEditorChipgetFalseName in class BooleanEditorChipBooleanEditorChip.getFalseName()public void setFalseName(String falseName)
falseName - The falseName to set.public String getNullName()
BooleanEditorChipgetNullName in class BooleanEditorChipBooleanEditorChip.getNullName()public void setNullName(String nullName)
nullName - The nullName to set.public String getTrueName()
BooleanEditorChipgetTrueName in class BooleanEditorChipBooleanEditorChip.getTrueName()public void setTrueName(String trueName)
trueName - The trueName to set.public String getMandatoryView()
BooleanEditorChipString that represents the viewtype of the mandatory editor. Possble values are:
checkbox or radiogetMandatoryView in class BooleanEditorChipBooleanEditorChip.getMandatoryView()public void setWrapValues(boolean wrapValues)
wrapValues - public boolean isWrapValues()
BooleanEditorChiptrue if the possible values should be wrapped.isWrapValues in class BooleanEditorChiptrue if the possible values should be wrappedBooleanEditorChip.isWrapValues()public boolean useSelectBox()
public void setUseSelectBox(boolean useSelectBox)
public void setParameters(Map params)
AbstractAttributeEditorChipsetParameters in class AbstractAttributeEditorChipparams - the parameters which where provided by the xml configuration.AbstractAttributeEditorChip.setParameters(java.util.Map)Copyright © 2017 SAP SE. All Rights Reserved.