public class ScriptSearchObject extends AbstractActionHandlerSearchObject
Constructor and Description |
---|
ScriptSearchObject(CachedComponent comp,
ActionAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of the object that matches the search pattern.
|
java.lang.String |
getText()
Gets the text representation of the search result.
|
void |
setText(java.lang.String value)
Updates the search result with the new value- the "replace" in "search & replace".
|
adapter, getIcon, getOwnerName, locate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMutable
public ScriptSearchObject(CachedComponent comp, ActionAdapter adapter)
public java.lang.String getName()
SearchObject
public java.lang.String getText()
SearchObject
public void setText(java.lang.String value) throws java.lang.IllegalArgumentException
SearchObject
java.lang.IllegalArgumentException
- If the new text value is not suitable for this search object