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 TypeMethodDescriptionvoidvoidaddTaggableBatch(boolean starts) voidaddTagListener(TagListener listener, boolean fire_for_existing) booleanint[]getColor()long[]default booleangetFlag(long flag) getGroup()intdefault StringlonggetTaggableAddedTime(Taggable taggble) intintintgetTagID()Unique ID within this tag typegetTagName(boolean localize) Unique type denoting this species of taglongUnique across tag types and can be used to lookup by TagManager::lookuptagByUIDgetTransientProperty(String property) booleanbooleandefault booleanbooleanisPublic()boolean[]booleanbooleanvoidvoidvoidremoveTagListener(TagListener listener) voidvoidsetCanBePublic(boolean can_be_public) voidsetColor(int[] rgb) voidsetColors(long[] colors) voidsetDescription(String desc) default voidsetFlag(long flag, boolean value) voiddefault voidsetHiddenWhenEmpty(boolean b) voidsetImageFile(String id) voidsetImageID(String id) voidsetImageSortOrder(int order) voidsetPublic(boolean pub) voidsetTagName(String name) voidsetTransientProperty(String property, Object value) voidsetVisible(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() -
isTagRemoved
boolean isTagRemoved() -
getDescription
String getDescription() -
setDescription
-
setTransientProperty
-
getTransientProperty
-
getTaggableAddedTime
-
requestAttention
void requestAttention() -
getVuzeFile
VuzeFile getVuzeFile() -
addTagListener
-
removeTagListener
-