public class InternalMultibox extends org.zkoss.zul.Textbox implements InternalField
AdvancedLookupField
.Modifier and Type | Field and Description |
---|---|
protected MultivalueDataHandler |
dataHandler |
protected AdvancedLookupField |
parentField |
AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED
Constructor and Description |
---|
InternalMultibox(AdvancedLookupField parentField,
MultivalueDataHandler dataHandler) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the value of the field.
|
IntelligentField.ElementType |
getElementType() |
Object |
getObjectValue() |
com.saperion.intf.SaPropertyValue |
getPropertyValue() |
void |
onChange(org.zkoss.zk.ui.event.InputEvent event)
Reads the input when the content of the field was changed.
|
void |
setObjectValue(Object value)
Sets the field's value.
|
void |
setPropertyValue(com.saperion.intf.SaPropertyValue value)
Sets the field's value.
|
void |
smartUpdate(String attr,
Object value)
Updates the specified attribute.
|
void |
validate(Object value)
Validates the value.
|
clone, coerceFromString, coerceToString, getPropertyAccess, getRows, getType, getValue, getZclass, isMultiline, isTabbable, renderProperties, setMultiline, setRows, setTabbable, setType, setValue
checkUserError, clearErrorMessage, clearErrorMessage, getCols, getConstraint, getErrorboxIconSclass, getErrorboxSclass, getErrorMessage, getInstant, getMaxlength, getName, getPlaceholder, getRawText, getRawValue, getTargetValue, getText, isChildable, isDisabled, isInplace, isInstant, isReadonly, isValid, marshall, onWrongValue, select, service, setCols, setConstraint, setConstraint, setDisabled, setErrorboxIconSclass, setErrorboxSclass, setErrorMessage, setInplace, setInstant, setMaxlength, setName, setPlaceholder, setRawValue, setReadonly, setSelectedText, setSelectionRange, setText, setValueDirectly, showCustomError, unmarshall
getContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
addAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearErrorMessage, getTabindex, getText, isDisabled, isReadonly, isValid, setDisabled, setPlaceholder, setReadonly, setTabindex, setText
addEventListener, addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getChildren, getClientAttribute, getClientDataAttribute, getDefinition, getDesktop, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getShadowVariable, getShadowVariable, getSpaceOwner, getStubonly, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, query, queryAll, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setTemplate, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride
protected final AdvancedLookupField parentField
protected final MultivalueDataHandler dataHandler
public InternalMultibox(AdvancedLookupField parentField, MultivalueDataHandler dataHandler)
parentField
- the AdvancedLookupField using this InternalFielddataHandler
- handler for the data contained in this InternalFieldpublic IntelligentField.ElementType getElementType()
getElementType
in interface InternalField
IntelligentField.ElementType
of the fieldpublic void validate(Object value)
InternalField
validate
in interface InternalField
validate
in class org.zkoss.zul.impl.InputElement
value
- value to validatepublic void smartUpdate(String attr, Object value)
InternalField
smartUpdate
in interface InternalField
smartUpdate
in class org.zkoss.zk.ui.AbstractComponent
attr
- name of the attributevalue
- new value of the attributepublic Object getObjectValue()
getObjectValue
in interface InternalField
public void setObjectValue(Object value)
InternalField
Collection
.setObjectValue
in interface InternalField
value
- new value to setpublic void setPropertyValue(com.saperion.intf.SaPropertyValue value)
InternalField
setPropertyValue
in interface InternalField
value
- new value to setpublic com.saperion.intf.SaPropertyValue getPropertyValue()
getPropertyValue
in interface InternalField
SaPropertyValue
.public void clear()
InternalField
clear
in interface InternalField
public void onChange(org.zkoss.zk.ui.event.InputEvent event)
event
- input event from the clientCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.