public class CustomFunctionSearchObject extends java.lang.Object implements SearchObject
| Constructor and Description |
|---|
CustomFunctionSearchObject(CachedComponent comp,
CustomFunction function) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getIcon()
Returns an icon that can be used to identify this type of result.
|
java.lang.String |
getName()
The name of the object that matches the search pattern.
|
java.lang.String |
getOwnerName()
The name of the entity where this result is found.
|
java.lang.String |
getText()
Gets the text representation of the search result.
|
void |
locate()
Brings focus to the item in the UI in whatever way is appropriate.
|
void |
setText(java.lang.String script)
Updates the search result with the new value- the "replace" in "search & replace".
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMutablepublic CustomFunctionSearchObject(CachedComponent comp, CustomFunction function)
public javax.swing.Icon getIcon()
SearchObjectgetIcon in interface SearchObjectpublic java.lang.String getOwnerName()
SearchObjectgetOwnerName in interface SearchObjectpublic java.lang.String getName()
SearchObjectgetName in interface SearchObjectpublic java.lang.String getText()
SearchObjectgetText in interface SearchObjectpublic void setText(java.lang.String script)
throws java.lang.IllegalArgumentException
SearchObjectsetText in interface SearchObjectjava.lang.IllegalArgumentException - If the new text value is not suitable for this search objectpublic void locate()
SearchObjectlocate in interface SearchObject