Package com.biglybt.core.tag
Interface Tag
- All Superinterfaces:
Tag
- All Known Subinterfaces:
Category
,TagDownload
,TagPeer
,TagSwarmTag
- All Known Implementing Classes:
CategoryImpl
,GlobalManagerImpl.DownloadStateTagger.MyTag
,OpenTorrentOptionsWindow.DiscoveredTag
,SpeedLimitHandler.PeerSet.TagPeerImpl
,TagBase
,TagDownloadWithState
,TagTypeSwarmTag.TagSwarmTagImpl
,TagWithState
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTaggableBatch
(boolean starts) void
addTagListener
(TagListener listener, boolean fire_for_existing) boolean
int[]
getColor()
long[]
default boolean
getFlag
(long flag) getGroup()
int
default String
long
getTaggableAddedTime
(Taggable taggble) int
int
int
getTagID()
Unique ID within this tag typegetTagName
(boolean localize) Unique type denoting this species of taglong
Unique across tag types and can be used to lookup by TagManager::lookuptagByUIDgetTransientProperty
(String property) boolean
boolean
default boolean
boolean
isPublic()
boolean[]
boolean
void
void
void
removeTagListener
(TagListener listener) void
void
setCanBePublic
(boolean can_be_public) void
setColor
(int[] rgb) void
setColors
(long[] colors) void
setDescription
(String desc) default void
setFlag
(long flag, boolean value) void
default void
setHiddenWhenEmpty
(boolean b) void
setImageFile
(String id) void
setImageID
(String id) void
setImageSortOrder
(int order) void
setPublic
(boolean pub) void
setTagName
(String name) void
setTransientProperty
(String property, Object value) void
setVisible
(boolean visible) Methods inherited from interface com.biglybt.pif.tag.Tag
addListener, getTaggables, getTagName, removeListener
-
Field Details
-
TP_SETTINGS_REQUESTED
- See Also:
-
TP_CONSTRAINT_ERROR
- See Also:
-
FL_NONE
static final long FL_NONE- See Also:
-
FL_IS_FILTER
static final long FL_IS_FILTER- See Also:
-
FL_IS_HIDDEN_WHEN_EMPTY
static final long FL_IS_HIDDEN_WHEN_EMPTY- See Also:
-
-
Method Details
-
getTagType
TagType getTagType()Unique type denoting this species of tag- Returns:
-
getTagID
int getTagID()Unique ID within this tag type- Returns:
-
getTagUID
long getTagUID()Unique across tag types and can be used to lookup by TagManager::lookuptagByUID- Returns:
-
getTagName
-
setTagName
- Throws:
TagException
-
getTaggableTypes
int getTaggableTypes() -
setCanBePublic
void setCanBePublic(boolean can_be_public) -
canBePublic
boolean canBePublic() -
isPublic
boolean isPublic() -
setPublic
void setPublic(boolean pub) -
isTagAuto
boolean[] isTagAuto()- Returns:
- [ auto_add, auto_remove, auto_new_download_only (tag constraint) ]
-
isVisible
boolean isVisible() -
setVisible
void setVisible(boolean visible) -
isHiddenWhenEmpty
default boolean isHiddenWhenEmpty() -
setHiddenWhenEmpty
default void setHiddenWhenEmpty(boolean b) -
setFlag
default void setFlag(long flag, boolean value) -
getFlag
default boolean getFlag(long flag) -
getGroup
String getGroup() -
setGroup
-
getGroupContainer
TagGroup getGroupContainer() -
getImageID
String getImageID() -
setImageID
-
getImageFile
String getImageFile() -
setImageFile
-
getImageSortOrder
int getImageSortOrder() -
setImageSortOrder
void setImageSortOrder(int order) -
getColor
int[] getColor() -
setColor
void setColor(int[] rgb) -
isColorDefault
boolean isColorDefault() -
setColors
void setColors(long[] colors) -
getColors
long[] getColors() -
addTaggableBatch
void addTaggableBatch(boolean starts) -
addTaggable
-
removeTaggable
-
getTaggedCount
int getTaggedCount() -
getTagged
-
hasTaggable
-
dependsOnTags
-
getStatus
-
removeTag
void removeTag() -
getDescription
String getDescription() -
setDescription
-
setTransientProperty
-
getTransientProperty
-
getTaggableAddedTime
-
requestAttention
void requestAttention() -
getVuzeFile
VuzeFile getVuzeFile() -
addTagListener
-
removeTagListener
-