public class ClientTagFolder extends AbstractClientTag
appContext, deleted, LOGGER, name, pathContext
accessRights, attributes, enabled, eventScripts, permissionModel, type
Constructor and Description |
---|
ClientTagFolder()
For serialization.
|
ClientTagFolder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Tag tag)
Adds a child tag to this tag folder.
|
void |
applyDiff(TagDiff diff)
Applies the diff to this tag, and fires one change at the end.
|
ClientTag |
findChild(java.lang.String tagName)
Attempts to find a tag with the given name (case insensitive).
|
java.util.List<ClientTag> |
getChildren()
Returns a list of children.
|
TagType |
getType()
Returns the type of this tag.
|
boolean |
isEnabled()
Returns the enabled bit for this tag
|
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 |
setChildren(java.util.List<ClientTag> list)
Shouldn't be called directly.
|
void |
setEnabled(boolean en)
Sets this tag enabled/disabled
|
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
|
addTagChangeListener, checkName, fireScriptEvent, fireTagChange, getAlarmStates, getAttribute, getName, getNumSubscribers, getPath, getValue, getValueRaw, hasPermission, isAlarmingSupported, onScriptError, onScriptSuccess, removeTagChangeListener, sampleDiagnostics, setAccessRights, setAlarmStates, setAlarmStates, setAttribute, setEventScripts, setName, setPermissionModel, setTypeAndValue, setTypeAndValue, setValue, transferState, updateRuntimeQuality
coerceValue, compareTo, getAccessRights, getChild, getDataType, getEventScripts, getPermissionModel, getRawAttributes, isValidName, main, sanitizeName, setDataType, setRawAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataType
getAccessRights, getDataType, getEventScripts, getPermissionModel
public ClientTagFolder()
public ClientTagFolder(java.lang.String name)
public java.util.List<ClientTag> getChildren()
TagNode
getChildren
in interface TagNode
getChildren
in class AbstractClientTag
public void setChildren(java.util.List<ClientTag> list)
list
- public void addChild(Tag tag)
ClientTag
addChild
in interface ClientTag
addChild
in class AbstractTag
public void notifyPermissionsChanged()
ClientTag
notifyPermissionsChanged
in interface ClientTag
notifyPermissionsChanged
in class AbstractClientTag
public void notifyTagDeleted()
ClientTag
notifyTagDeleted
in interface ClientTag
notifyTagDeleted
in class AbstractClientTag
public TagType getType()
Tag
public boolean isEnabled()
Tag
isEnabled
in interface Tag
isEnabled
in class AbstractTag
public void setEnabled(boolean en)
MutableTag
setEnabled
in interface MutableTag
setEnabled
in class AbstractClientTag
public ClientTag findChild(java.lang.String tagName)
ClientTag
findChild
in interface ClientTag
findChild
in class AbstractClientTag
public Tag removeChild(java.lang.String tagName)
ClientTag
removeChild
in interface ClientTag
removeChild
in class AbstractClientTag
public void applyDiff(TagDiff diff)
AbstractClientTag
applyDiff
in interface ClientTag
applyDiff
in class AbstractClientTag
public void startBinding(VisionClientContext appContext, TagPath pathContext)
ClientTag
startBinding
in interface ClientTag
startBinding
in class AbstractClientTag
public void stopBinding()
ClientTag
stopBinding
in interface ClientTag
stopBinding
in class AbstractClientTag