Package com.biglybt.core.tag
Interface TagType
- All Known Implementing Classes:
CategoryManagerImpl
,GlobalManagerImpl.DownloadStateTagger
,OpenTorrentOptionsWindow.DiscoveredTag.TagTypeDiscovery
,SpeedLimitHandler.IPSetTagType
,TagTypeBase
,TagTypeDownloadInternal
,TagTypeDownloadManual
,TagTypeSwarmTag
,TagTypeWithState
public interface TagType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTagListener
(Taggable taggable, TagListener listener) taggable-specific listneer for this tag-typevoid
addTagTypeListener
(TagTypeListener listener, boolean fire_for_existing) int[]
getTag
(int tag_id) int
getTags()
getTagsForTaggable
(Taggable taggable) int
Unique type denoting this species of taglong
getTagTypeName
(boolean localize) boolean
hasTagTypeFeature
(long feature) boolean
boolean
void
void
removeTagListener
(Taggable taggable, TagListener listener) void
void
removeTagTypeListener
(TagTypeListener listener)
-
Field Details
-
TT_DOWNLOAD_CATEGORY
static final int TT_DOWNLOAD_CATEGORY- See Also:
-
TT_DOWNLOAD_STATE
static final int TT_DOWNLOAD_STATE- See Also:
-
TT_DOWNLOAD_MANUAL
static final int TT_DOWNLOAD_MANUAL- See Also:
-
TT_PEER_IPSET
static final int TT_PEER_IPSET- See Also:
-
TT_DOWNLOAD_INTERNAL
static final int TT_DOWNLOAD_INTERNAL- See Also:
-
TT_TAG_SUGGESTION
static final int TT_TAG_SUGGESTION- See Also:
-
TT_SWARM_TAG
static final int TT_SWARM_TAG- See Also:
-
-
Method Details
-
getTagType
int getTagType()Unique type denoting this species of tag- Returns:
-
getTagTypeName
-
isTagTypeAuto
boolean isTagTypeAuto() -
isTagTypePersistent
boolean isTagTypePersistent() -
getTagTypeFeatures
long getTagTypeFeatures() -
hasTagTypeFeature
boolean hasTagTypeFeature(long feature) -
createTag
- Throws:
TagException
-
addTag
-
removeTag
-
getTag
-
getTag
-
getTagCount
int getTagCount() -
getTags
-
getTagsForTaggable
-
removeTagType
void removeTagType() -
getTagManager
TagManager getTagManager() -
getColorDefault
int[] getColorDefault() -
addTagTypeListener
-
removeTagTypeListener
-
addTagListener
taggable-specific listneer for this tag-type- Parameters:
taggable
-listener
-
-
removeTagListener
-