Interface InternalField
- 
- All Superinterfaces:
- java.lang.Cloneable,- org.zkoss.zk.ui.Component,- org.zkoss.zk.ui.ext.Scope,- java.io.Serializable
 - All Known Implementing Classes:
- InternalDatebox,- InternalDoublebox,- InternalIntbox,- InternalMultibox,- InternalTextbox,- InternalTimebox
 
 public interface InternalField extends org.zkoss.zk.ui.ComponentA field that is contained in anAdvancedLookupField.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclear()Clears the value of the field.voidclearErrorMessage()Clears the last error message.IntelligentField.ElementTypegetElementType()java.lang.ObjectgetObjectValue()com.saperion.intf.SaPropertyValuegetPropertyValue()intgetTabindex()java.lang.StringgetText()booleanisDisabled()booleanisReadonly()booleanisValid()voidsetDisabled(boolean disabled)Sets the disabled-state of the field.voidsetObjectValue(java.lang.Object value)Sets the field's value.voidsetPlaceholder(java.lang.String placeholder)Sets the placeholder-text.voidsetPropertyValue(com.saperion.intf.SaPropertyValue value)Sets the field's value.default voidsetPropertyValue(com.saperion.intf.SaPropertyValue value, java.lang.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.voidsetText(java.lang.String text)Sets the field's value as text.voidsmartUpdate(java.lang.String attr, java.lang.Object value)Updates the specified attribute.voidvalidate(java.lang.Object value)Validates 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, setWidgetOverride
 
- 
 
- 
- 
- 
Method Detail- 
setObjectValuevoid setObjectValue(java.lang.Object value) Sets 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.
 
 - 
setPropertyValuedefault void setPropertyValue(com.saperion.intf.SaPropertyValue value, java.lang.String separator)Sets the field's value.- Parameters:
- value- new value to set
- separator- use if value contains more than one value which needs to be appended
 
 - 
getObjectValuejava.lang.Object getObjectValue() - Returns:
- the field's current value or null if the field is empty.
 
 - 
smartUpdatevoid smartUpdate(java.lang.String attr, java.lang.Object value)Updates the specified attribute.- Parameters:
- attr- name of the attribute
- value- new value of the attribute
 
 - 
validatevoid validate(java.lang.Object value) Validates 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
 
 - 
getTextjava.lang.String getText() - Returns:
- the field's value as text
 
 - 
setTextvoid setText(java.lang.String text) Sets 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.
 - 
setPlaceholdervoid setPlaceholder(java.lang.String placeholder) Sets the placeholder-text.- Parameters:
- placeholder- the placeholder text
- See Also:
- InputElement.setPlaceholder(String)
 
 
- 
 
-