@Deprecated public abstract class SelectBasedControl<T> extends Select implements IControl<T>, IHasModifiedIndication
| Constructor and Description |
|---|
SelectBasedControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
findListValueByIndex(int nindex)
Deprecated.
Locate the "T" value for the nth selected option.
|
protected abstract int |
findOptionIndexForValue(T newvalue)
Deprecated.
|
protected SelectOption |
getEmptyOption()
Deprecated.
If this combobox has a "unselected" option currently this contains that option.
|
String |
getEmptyText()
Deprecated.
|
T |
getValue()
Deprecated.
|
T |
getValueSafe()
Deprecated.
|
boolean |
hasError()
Deprecated.
|
protected T |
internalGetCurrentValue()
Deprecated.
|
protected boolean |
internalOnUserInput(int oldindex,
int nindex)
Deprecated.
The user selected a different option.
|
protected void |
internalOnValueSet(T previousvalue,
T newvalue)
Deprecated.
A value was set through setValue(); we need to find the proper thingy to select.
|
protected void |
internalSetCurrentValue(T val)
Deprecated.
|
protected void |
setEmptyOption(SelectOption emptyOption)
Deprecated.
See getter.
|
void |
setEmptyText(String emptyText)
Deprecated.
|
void |
setValue(T v)
Deprecated.
|
acceptRequestParameter, addExtraButton, canContain, clearSelected, componentHandleWebAction, getOption, getReturnPressed, getSelectedIndex, getSize, internalSetSelectedIndex, isDisabled, isModified, isMultiple, onAddedToPage, onRemoveFromPage, setDisabled, setDisabled, setModified, setMultiple, setReadOnly, setReturnPressed, setSelectedIndex, setSize, visitcallOnValueChanged, getOnValueChanged, immediate, immediate, isImmediate, isMandatory, isReadOnly, setMandatory, setOnValueChangedadd, add, add, addTable, addTableForLayout, addTableForLayout, appendTreeErrors, createFrame, delegateTo, disableAllChildControlsDeep, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChildren, getDelegate, getErrorFence, getTextContents, internalAdd, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldChildren, internalOnBeforeRender, internalShelve, internalUnshelve, iterator, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setErrorFence, setErrorFence, setText, setValue, undelegatedAdd, undelegatedGetChild$, addBinding, addCssClass, addGlobalMessage, addNotificationListener, afterCreateContent, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createContent, createStatement, findComponentBundle, findParent, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSharedContext, getSharedContextFactory, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTestRepeatId, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasParent, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, lc, notify, notifyParentOrOpenerPage, onBeforeFullRender, onBeforeRender, onForceRebuild, onHeaderContributors, onShelve, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setCssClass, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorLocation, isDisabled, isMandatory, isReadOnly, setErrorLocation, setMandatory, setReadOnlysetDisabled, setTestIDgetOnValueChanged, setOnValueChangedclearMessage, getMessage, setMessageisModified, setModifiedgetOnValueChangedforEach, spliteratorprotected abstract T findListValueByIndex(int nindex)
nindex - protected abstract int findOptionIndexForValue(T newvalue)
public String getEmptyText()
public void setEmptyText(String emptyText)
protected SelectOption getEmptyOption()
protected void setEmptyOption(SelectOption emptyOption)
emptyOption - protected boolean internalOnUserInput(int oldindex,
int nindex)
internalOnUserInput in class SelectSelect.internalOnUserInput(int, int)public final T getValue()
getValue in interface IControl<T>IControl.getValue()public final void setValue(@Nullable T v)
setValue in interface IControl<T>IControl.setValue(java.lang.Object)protected final void internalOnValueSet(T previousvalue, T newvalue)
protected T internalGetCurrentValue()
protected void internalSetCurrentValue(T val)
public T getValueSafe()
getValueSafe in interface IControl<T>IControl.getValueSafe()public boolean hasError()
hasError in interface IControl<T>hasError in class NodeContainerIControl.hasError()Copyright © 2017 etc.to. All rights reserved.