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".
|
locate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMutable
public MenuNodeScriptSearchObject(java.lang.String parentPath, MenuNode node)
public MenuNode getNode()
public javax.swing.Icon getIcon()
SearchObject
public java.lang.String getOwnerName()
SearchObject
getOwnerName
in interface SearchObject
getOwnerName
in class AbstractScriptSearchProvider.AbstractScriptSearchObject
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