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
protected class TagTypeBase.TagGroupImpl extends java.lang.Object implements TagGroup
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
ass_root
private boolean
exclusive
private CopyOnWriteList<TagGroupListener>
listeners
private java.lang.String
name
private CopyOnWriteList<Tag>
tags
-
Constructor Summary
Constructors Modifier Constructor Description private
TagGroupImpl(java.lang.String _name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(TagGroupListener l, boolean fire_for_existing)
protected void
addTag(Tag tag)
protected java.util.Map<java.lang.String,java.lang.Object>
exportState()
protected java.lang.String
getGroupID()
java.lang.String
getName()
java.io.File
getRootMoveOnAssignLocation()
java.util.List<Tag>
getTags()
TagType
getTagType()
protected void
importState(java.util.Map<java.lang.String,java.lang.Object> map)
boolean
isExclusive()
void
removeListener(TagGroupListener l)
protected void
removeTag(Tag tag)
void
setExclusive(boolean b)
void
setRootMoveOnAssignLocation(java.io.File f)
-
-
-
Field Detail
-
name
private final java.lang.String name
-
exclusive
private boolean exclusive
-
ass_root
private java.io.File ass_root
-
tags
private CopyOnWriteList<Tag> tags
-
listeners
private CopyOnWriteList<TagGroupListener> listeners
-
-
Method Detail
-
getGroupID
protected java.lang.String getGroupID()
-
importState
protected void importState(java.util.Map<java.lang.String,java.lang.Object> map)
-
exportState
protected java.util.Map<java.lang.String,java.lang.Object> exportState()
-
isExclusive
public boolean isExclusive()
- Specified by:
isExclusive
in interfaceTagGroup
-
setExclusive
public void setExclusive(boolean b)
- Specified by:
setExclusive
in interfaceTagGroup
-
getRootMoveOnAssignLocation
public java.io.File getRootMoveOnAssignLocation()
- Specified by:
getRootMoveOnAssignLocation
in interfaceTagGroup
-
setRootMoveOnAssignLocation
public void setRootMoveOnAssignLocation(java.io.File f)
- Specified by:
setRootMoveOnAssignLocation
in interfaceTagGroup
-
getTagType
public TagType getTagType()
- Specified by:
getTagType
in interfaceTagGroup
-
addTag
protected void addTag(Tag tag)
-
removeTag
protected void removeTag(Tag tag)
-
addListener
public void addListener(TagGroupListener l, boolean fire_for_existing)
- Specified by:
addListener
in interfaceTagGroup
-
removeListener
public void removeListener(TagGroupListener l)
- Specified by:
removeListener
in interfaceTagGroup
-
-