Interface ClientTag
- All Superinterfaces:
Comparable<Tag>
,MutableTag
,Tag
,TagNode
- All Known Implementing Classes:
AbstractClientSystemTag
,AbstractClientTag
,AppDescriptionTag
,AppNameTag
,AppTitleTag
,ArrayIndexTag
,ClientTagFolder
,ClientTimeTag
,CurrentWindowTag
,DateTimeFormatTag
,DefaultDatabaseTag
,DefaultTagProviderTag
,GatewayAddressTag
,GatewayRedundancyRoleTag
,HostnameTag
,IPAddressTag
,LanguageTag
,LastProjectUpdateTag
,MACAddressTag
,PollingClientSystemTag
,ProjectTag
,ProjectUpdateAvailableTag
,RolesDataSetTag
,RolesStringTag
,StaticClientSystemTag
,SystemFlagsTag
,SystemTagFolder
,UserNameTag
,UserSourceTag
Subinterface of Tag, a Client Tag adds integrated change listening, and adding/removing tags.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a child tag to this tag folder.void
Applies the given tag diffAttempts to find a tag with the given name (case insensitive).boolean
hasPermission
(boolean write) void
Called when this tag is removed.removeChild
(String tagName) Removes the child with the given name (case insensitive).void
startBinding
(VisionClientContext appContext, TagPath pathContext, TagChangeListener rootListener) Starts any binding for the tag, such as an expression binding or a SQL query bindingvoid
Stops any binding activities for this tagvoid
transferState
(ClientTag otherTag) Transfers listeners and values to another tag.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.MutableTag
setAccessRights, setAlarmStates, setAttribute, setCurrentValue, setDataType, setEnabled, setEventScripts, setName
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.Tag
getAccessRights, getAlarmStates, getAttribute, getCurrentValue, getDataType, getEventScripts, getName, getPermissionModel, getType, isEnabled
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.TagNode
getChildren
-
Method Details
-
transferState
Transfers listeners and values to another tag. Used when tag root is changed. Should transfer recursively - that is, transfer direct listeners, and then go through children, see if this tag has the same child, and transfer those listeners too -
notifyTagDeleted
void notifyTagDeleted()Called when this tag is removed. Should notify all subscribers that it no longer exists -
hasPermission
boolean hasPermission(boolean write) -
applyDiff
Applies the given tag diff -
addChild
Adds a child tag to this tag folder. Will throw an UnsupportedOperationException on anything but a folder tag -
removeChild
Removes the child with the given name (case insensitive). Will throw an UnsupportedOperationException on anything but a folder tag. Returns the tag removed, or null if no tag by the given name was found. -
findChild
Attempts to find a tag with the given name (case insensitive). -
startBinding
void startBinding(VisionClientContext appContext, TagPath pathContext, TagChangeListener rootListener) Starts any binding for the tag, such as an expression binding or a SQL query binding -
stopBinding
void stopBinding()Stops any binding activities for this tag
-