Class TagTypeBase.TagGroupImpl
java.lang.Object
com.biglybt.core.tag.impl.TagTypeBase.TagGroupImpl
- All Implemented Interfaces:
TagGroup
- Enclosing class:
TagTypeBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Fileprivate booleanprivate int[]private CopyOnWriteList<TagGroupListener> private final Stringprivate CopyOnWriteList<Tag> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTagGroupImpl(String _name) privateTagGroupImpl(String _name, TagTypeBase.TagGroupImpl _basis) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(TagGroupListener l, boolean fire_for_existing) protected voidint[]getColor()protected StringgetName()getTags()getUserData(Object key) private voidprotected voidimportState(Map<String, Object> map) booleanvoidprotected voidvoidsetColor(int[] rgb) voidsetExclusive(boolean b) voidvoidvoidsetUserData(Object key, Object data)
-
Field Details
-
name
-
exclusive
private boolean exclusive -
ass_root
-
group_colour
private int[] group_colour -
tags
-
listeners
-
user_data
-
-
Constructor Details
-
TagGroupImpl
-
TagGroupImpl
-
-
Method Details
-
getGroupID
-
importState
-
exportState
-
getName
-
setName
-
isExclusive
public boolean isExclusive()- Specified by:
isExclusivein interfaceTagGroup
-
setExclusive
public void setExclusive(boolean b) - Specified by:
setExclusivein interfaceTagGroup
-
getRootMoveOnAssignLocation
- Specified by:
getRootMoveOnAssignLocationin interfaceTagGroup
-
setRootMoveOnAssignLocation
- Specified by:
setRootMoveOnAssignLocationin interfaceTagGroup
-
getColor
-
setColor
-
getTagType
- Specified by:
getTagTypein interfaceTagGroup
-
getTags
-
addTag
-
removeTag
-
groupChanged
private void groupChanged() -
addListener
- Specified by:
addListenerin interfaceTagGroup
-
removeListener
- Specified by:
removeListenerin interfaceTagGroup
-
setUserData
-
getUserData
-