Package com.oorian.messaging.commands
Class SetFocusAndValueCommand
java.lang.Object
com.oorian.messaging.commands.Command
com.oorian.messaging.commands.SetFocusAndValueCommand
Command that sets focus on an input element and assigns it a new value.
This command focuses the specified element and updates its value in a single operation, useful for programmatically populating and focusing an input field.
-
Constructor Summary
ConstructorsConstructorDescriptionSetFocusAndValueCommand(String elementId, String value) Creates a SetFocusAndValueCommand for the specified element and value. -
Method Summary
Methods inherited from class com.oorian.messaging.commands.Command
getElementId, getId, setElementId, toString
-
Constructor Details
-
SetFocusAndValueCommand
Creates a SetFocusAndValueCommand for the specified element and value.- Parameters:
elementId- the ID of the input element to focusvalue- the value to set on the element
-
-
Method Details