Interface InternalField
- All Superinterfaces:
- Cloneable,- org.zkoss.zk.ui.Component,- org.zkoss.zk.ui.ext.Scope,- Serializable
- All Known Implementing Classes:
- InternalDatebox,- InternalDoublebox,- InternalIntbox,- InternalMultibox,- InternalTextbox,- InternalTimebox
public interface InternalField
extends org.zkoss.zk.ui.Component
A field that is contained in an 
AdvancedLookupField.- 
Field SummaryFields inherited from interface org.zkoss.zk.ui.ComponentAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()Clears the value of the field.voidClears the last error message.com.saperion.intf.SaPropertyValueintgetText()booleanbooleanbooleanisValid()voidsetDisabled(boolean disabled) Sets the disabled-state of the field.voidsetObjectValue(Object value) Sets the field's value.voidsetPlaceholder(String placeholder) Sets the placeholder-text.voidsetPropertyValue(com.saperion.intf.SaPropertyValue value) Sets the field's value.default voidsetPropertyValue(com.saperion.intf.SaPropertyValue value, String separator) Sets the field's value.voidsetReadonly(boolean readonly) Sets the readonly-state of the field.voidsetTabindex(int index) Sets the tabindex of the field.voidSets the field's value as text.voidsmartUpdate(String attr, Object value) Updates the specified attribute.voidValidates the value.Methods inherited from interface org.zkoss.zk.ui.ComponentaddEventListener, 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, setWidgetOverrideMethods inherited from interface org.zkoss.zk.ui.ext.ScopeaddScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
- 
Method Details- 
setObjectValueSets the field's value. Multivalue fields accept a typedCollection.- Parameters:
- value- new value to set
 
- 
setPropertyValuevoid setPropertyValue(com.saperion.intf.SaPropertyValue value) Sets the field's value.- Parameters:
- value- new value to set
 
- 
getPropertyValuecom.saperion.intf.SaPropertyValue getPropertyValue()- Returns:
- the field's current value as SaPropertyValue.
 
- 
setPropertyValueSets the field's value.- Parameters:
- value- new value to set
- separator- use if value contains more than one value which needs to be appended
 
- 
getObjectValueObject getObjectValue()- Returns:
- the field's current value or null if the field is empty.
 
- 
smartUpdateUpdates the specified attribute.- Parameters:
- attr- name of the attribute
- value- new value of the attribute
 
- 
validateValidates the value.- Parameters:
- value- value to validate
 
- 
clearvoid clear()Clears the value of the field.
- 
getElementTypeIntelligentField.ElementType getElementType()- Returns:
- the IntelligentField.ElementTypeof the field
 
- 
setTabindexvoid setTabindex(int index) Sets the tabindex of the field.- Parameters:
- index- the tabindex
 
- 
getTabindexint getTabindex()- Returns:
- the field's tab-index
 
- 
getTextString getText()- Returns:
- the field's value as text
 
- 
setTextSets the field's value as text.- Parameters:
- text- value as text
 
- 
isReadonlyboolean isReadonly()- Returns:
- true if the field is in readonly-mode
 
- 
isDisabledboolean isDisabled()- Returns:
- true if the field is disabled
 
- 
setDisabledvoid setDisabled(boolean disabled) Sets the disabled-state of the field.- Parameters:
- disabled- disabled state
 
- 
setReadonlyvoid setReadonly(boolean readonly) Sets the readonly-state of the field.- Parameters:
- readonly- readonly state
 
- 
isValidboolean isValid()- Returns:
- true if the field's content is valid
 
- 
clearErrorMessagevoid clearErrorMessage()Clears the last error message.
- 
setPlaceholderSets the placeholder-text.- Parameters:
- placeholder- the placeholder text
- See Also:
- 
- InputElement.setPlaceholder(String)
 
 
 
-