protected class ClientScriptSearchProvider.MenuNodeScriptSearchObject extends AbstractScriptSearchProvider.AbstractScriptSearchObject
| Constructor and Description |
|---|
MenuNodeScriptSearchObject(java.lang.String parentPath,
MenuNode node) |
| 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.
|
MenuNode |
getNode() |
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 |
setText(java.lang.String value)
Updates the search result with the new value- the "replace" in "search & replace".
|
locateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMutablepublic MenuNodeScriptSearchObject(java.lang.String parentPath,
MenuNode node)
public MenuNode getNode()
public javax.swing.Icon getIcon()
SearchObjectpublic java.lang.String getOwnerName()
SearchObjectgetOwnerName in interface SearchObjectgetOwnerName in class AbstractScriptSearchProvider.AbstractScriptSearchObjectpublic java.lang.String getName()
SearchObjectpublic java.lang.String getText()
SearchObjectpublic void setText(java.lang.String value)
throws java.lang.IllegalArgumentException
SearchObjectjava.lang.IllegalArgumentException - If the new text value is not suitable for this search object