public interface ClientTag extends TagNode, MutableTag
Modifier and Type | Method and Description |
---|---|
void |
addChild(Tag child)
Adds a child tag to this tag folder.
|
void |
addTagChangeListener(TagChangeListener l)
Registers a listener for tag changes for this tag.
|
void |
applyDiff(TagDiff diff)
Applies the given tag diff
|
ClientTag |
findChild(java.lang.String tagName)
Attempts to find a tag with the given name (case insensitive).
|
int |
getNumSubscribers()
Return the number of subscribers for this client tag
|
boolean |
hasPermission(boolean write) |
void |
notifyPermissionsChanged()
Called by the tag manager when permissions change - so maybe the user has access to previously denied tags now, or
vice versa.
|
void |
notifyTagDeleted()
Called when this tag is removed.
|
Tag |
removeChild(java.lang.String tagName)
Removes the child with the given name (case insensitive).
|
void |
removeTagChangeListener(TagChangeListener l)
Removes a listener from this tag.
|
void |
startBinding(VisionClientContext appContext,
TagPath pathContext)
Starts any binding for the tag, such as an expression binding or a SQL query binding
|
void |
stopBinding()
Stops any binding activities for this tag
|
void |
transferState(ClientTag otherTag)
Transfers listeners and values to another tag.
|
getChildren
setAccessRights, setAlarmStates, setAttribute, setDataType, setEnabled, setEventScripts, setName, setPermissionModel, setValue
getAccessRights, getAlarmStates, getAttribute, getDataType, getEventScripts, getName, getPermissionModel, getType, getValue, isAlarmingSupported, isEnabled
void addTagChangeListener(TagChangeListener l)
l
- void removeTagChangeListener(TagChangeListener l)
l
- void transferState(ClientTag otherTag)
otherTag
- int getNumSubscribers()
void notifyTagDeleted()
void notifyPermissionsChanged()
boolean hasPermission(boolean write)
void applyDiff(TagDiff diff)
diff
- void addChild(Tag child)
Tag removeChild(java.lang.String tagName)
tagName
- ClientTag findChild(java.lang.String tagName)
tagName
- void startBinding(VisionClientContext appContext, TagPath pathContext)
appContext
- void stopBinding()