Package com.biglybt.core.tag.impl
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 File
private boolean
private int[]
private CopyOnWriteList
<TagGroupListener> private final String
private CopyOnWriteList
<Tag> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TagGroupImpl
(String _name) private
TagGroupImpl
(String _name, TagTypeBase.TagGroupImpl _basis) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(TagGroupListener l, boolean fire_for_existing) protected void
int[]
getColor()
protected String
getName()
getTags()
getUserData
(Object key) private void
protected void
importState
(Map<String, Object> map) boolean
void
protected void
void
setColor
(int[] rgb) void
setExclusive
(boolean b) void
void
void
setUserData
(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:
isExclusive
in interfaceTagGroup
-
setExclusive
public void setExclusive(boolean b) - Specified by:
setExclusive
in interfaceTagGroup
-
getRootMoveOnAssignLocation
- Specified by:
getRootMoveOnAssignLocation
in interfaceTagGroup
-
setRootMoveOnAssignLocation
- Specified by:
setRootMoveOnAssignLocation
in interfaceTagGroup
-
getColor
public int[] getColor() -
setColor
public void setColor(int[] rgb) -
getTagType
- Specified by:
getTagType
in interfaceTagGroup
-
getTags
-
addTag
-
removeTag
-
groupChanged
private void groupChanged() -
addListener
- Specified by:
addListener
in interfaceTagGroup
-
removeListener
- Specified by:
removeListener
in interfaceTagGroup
-
setUserData
-
getUserData
-