Package com.uc4.api.prompt
Class OnChangeResetElement
java.lang.Object
com.uc4.api.objects.PromptElement
com.uc4.api.prompt.OnChangeResetElement
- Direct Known Subclasses:
CheckGroupElement,ComboElement,TextElement
Abstract class which adds OnChangeReset-functionality to a PromptElement.
-
Field Summary
Fields inherited from class com.uc4.api.objects.PromptElement
aliasMap, list, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a OnChangeReset-children to thePromptElement.Returns ajava.util.Iteratorto get all OnChangeReset-children of thisPromptElementand all related sub-children (=Recursive get).Returns ajava.util.Iteratorto get all OnChangeReset-children of thisPromptElement.voidRemoves all OnChangeReset-children from thePromptElement.voidRemoves the specified OnChangeReset-children from thePromptElement.voidResets all OnChangeReset-children of thisPromptElementand all related sub-children (=Recursive reset).intReturns the number ofOnChangeResetElement's which are registered to thisPromptElementprotected voidstoreAdditionalPromptData(Element promptElement) Subclasses can implement this method to store additional data into the prompt-element.Methods inherited from class com.uc4.api.objects.PromptElement
getCustomField, getMessageInsert, getMessageNumber, getMode, getProperty, getTagName, getTooltip, getValue, getValues, getVariable, hasList, isAltView, isLocked, listParam, setAltView, setCustomField, setLocked, setRawValue, setTooltip, setValue, setValues, setVariable, store, storeDefaultValues, toString, updateDefaultValue, validateForExecute, validateId
-
Constructor Details
-
OnChangeResetElement
public OnChangeResetElement()
-
-
Method Details
-
addOnChangeResetElement
Adds a OnChangeReset-children to thePromptElement. Will only be added if no reset-loop occurs.- Parameters:
element-OnChangeResetElementwhich should be added
-
removeOnChangeResetElement
Removes the specified OnChangeReset-children from thePromptElement.- Parameters:
element-OnChangeResetElementwhich should be removed
-
onChangeResetElementIterator
Returns ajava.util.Iteratorto get all OnChangeReset-children of thisPromptElement.- Returns:
- Iterator
-
removeAllOnChangeResetElements
public void removeAllOnChangeResetElements()Removes all OnChangeReset-children from thePromptElement. -
resetAllSubValues
public void resetAllSubValues()Resets all OnChangeReset-children of thisPromptElementand all related sub-children (=Recursive reset). -
getAllOnChangeResetElementIterator
Returns ajava.util.Iteratorto get all OnChangeReset-children of thisPromptElementand all related sub-children (=Recursive get).- Returns:
- Iterator
-
sizeOfOnChangeResetElements
public int sizeOfOnChangeResetElements()Returns the number ofOnChangeResetElement's which are registered to thisPromptElement- Returns:
- Number of elements. Can be zero.
-
storeAdditionalPromptData
Description copied from class:PromptElementSubclasses can implement this method to store additional data into the prompt-element.- Overrides:
storeAdditionalPromptDatain classPromptElement- Parameters:
promptElement- xml-element from the prompt-element
-