com.aelitis.azureus.core.tag.impl
Class TagTypeWithState

java.lang.Object
  extended by com.aelitis.azureus.core.tag.impl.TagTypeBase
      extended by com.aelitis.azureus.core.tag.impl.TagTypeWithState
All Implemented Interfaces:
TagListener, TagType
Direct Known Subclasses:
TagTypeDownloadManual

public class TagTypeWithState
extends TagTypeBase


Field Summary
 
Fields inherited from class com.aelitis.azureus.core.tag.impl.TagTypeBase
AT_COLOR_ID
 
Fields inherited from interface com.aelitis.azureus.core.tag.TagType
TT_DOWNLOAD_CATEGORY, TT_DOWNLOAD_MANUAL, TT_DOWNLOAD_STATE, TT_PEER_IPSET
 
Constructor Summary
protected TagTypeWithState(int tag_type, int tag_features, String tag_name)
           
protected TagTypeWithState(int tag_type, TaggableResolver _resolver, int tag_features, String tag_name)
           
 
Method Summary
 void addTag(Tag t)
           
protected  TaggableResolver getResolver()
           
 List<Tag> getTags()
           
 void removeTag(Tag t)
           
protected  void removeTaggable(TaggableResolver _resolver, Taggable taggable)
           
protected  Taggable resolveTaggable(String id)
           
 
Methods inherited from class com.aelitis.azureus.core.tag.impl.TagTypeBase
addTagListener, addTagType, addTagTypeListener, closing, createTag, fireChanged, fireChanged, generate, generateConfig, getColorDefault, getTag, getTag, getTagManager, getTagsForTaggable, getTagType, getTagTypeFeatures, getTagTypeName, hasTagTypeFeature, isTagTypeAuto, isTagTypePersistent, readBooleanAttribute, readLongAttribute, readStringAttribute, readStringListAttribute, removeTagListener, removeTagType, removeTagTypeListener, requestAttention, sync, taggableAdded, taggableRemoved, taggableSync, writeBooleanAttribute, writeLongAttribute, writeStringAttribute, writeStringListAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagTypeWithState

protected TagTypeWithState(int tag_type,
                           int tag_features,
                           String tag_name)

TagTypeWithState

protected TagTypeWithState(int tag_type,
                           TaggableResolver _resolver,
                           int tag_features,
                           String tag_name)
Method Detail

resolveTaggable

protected Taggable resolveTaggable(String id)
Overrides:
resolveTaggable in class TagTypeBase

getResolver

protected TaggableResolver getResolver()

removeTaggable

protected void removeTaggable(TaggableResolver _resolver,
                              Taggable taggable)
Overrides:
removeTaggable in class TagTypeBase

addTag

public void addTag(Tag t)
Specified by:
addTag in interface TagType
Overrides:
addTag in class TagTypeBase

removeTag

public void removeTag(Tag t)
Specified by:
removeTag in interface TagType
Overrides:
removeTag in class TagTypeBase

getTags

public List<Tag> getTags()