Class DatasetPropertySearchObject
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.search.searchobjects.DatasetPropertySearchObject
-
- All Implemented Interfaces:
SearchObject
public class DatasetPropertySearchObject extends java.lang.Object implements SearchObject
-
-
Constructor Summary
Constructors Constructor Description DatasetPropertySearchObject(CachedComponent comp, java.beans.PropertyDescriptor property, int row, java.lang.String col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.IcongetIcon()Returns an icon that can be used to identify this type of result.java.lang.StringgetName()The name of the object that matches the search pattern.java.lang.StringgetOwnerName()The name of the entity where this result is found.java.lang.StringgetText()Gets the text representation of the search result.voidlocate()Brings focus to the item in the UI in whatever way is appropriate.voidsetText(java.lang.String value)Updates the search result with the new value- the "replace" in "search & replace".-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.designer.findreplace.SearchObject
isMutable
-
-
-
-
Constructor Detail
-
DatasetPropertySearchObject
public DatasetPropertySearchObject(CachedComponent comp, java.beans.PropertyDescriptor property, int row, java.lang.String col)
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon()
Description copied from interface:SearchObjectReturns an icon that can be used to identify this type of result. Should be 16x16 or smaller.- Specified by:
getIconin interfaceSearchObject
-
getOwnerName
public java.lang.String getOwnerName()
Description copied from interface:SearchObjectThe name of the entity where this result is found. Used in the results display to help distinguish similar items.- Specified by:
getOwnerNamein interfaceSearchObject
-
getName
public java.lang.String getName()
Description copied from interface:SearchObjectThe name of the object that matches the search pattern. In other words, a description of the element inside the owner, such as "Name", or "Expression".- Specified by:
getNamein interfaceSearchObject
-
getText
public java.lang.String getText()
Description copied from interface:SearchObjectGets the text representation of the search result. This is what will be used for the "search".- Specified by:
getTextin interfaceSearchObject
-
setText
public void setText(java.lang.String value) throws java.lang.IllegalArgumentExceptionDescription copied from interface:SearchObjectUpdates the search result with the new value- the "replace" in "search & replace".- Specified by:
setTextin interfaceSearchObject- Throws:
java.lang.IllegalArgumentException- If the new text value is not suitable for this search object
-
locate
public void locate()
Description copied from interface:SearchObjectBrings focus to the item in the UI in whatever way is appropriate. Most of the time this will mean bringing up the editor for the object.- Specified by:
locatein interfaceSearchObject
-
-