Class TorrentAttributeCategoryImpl
java.lang.Object
com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
com.biglybt.pifimpl.local.torrent.TorrentAttributeCategoryImpl
- All Implemented Interfaces:
TorrentAttribute
-
Field Summary
Fields inherited from interface TorrentAttribute
TA_CATEGORY, TA_CONTENT_MAP, TA_DISPLAY_NAME, TA_NETWORKS, TA_PEER_SOURCES, TA_RELATIVE_SAVE_PATH, TA_SHARE_PROPERTIES, TA_TRACKER_CLIENT_EXTENSIONS, TA_USER_COMMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefinedValue(String name) Adds a new value to the attribute setString[]Returns the currently defined values for this attributegetName()voidremoveDefinedValue(String name) Removes a value from the attribute setMethods inherited from class BaseTorrentAttributeImpl
addTorrentAttributeListener, getTorrentAttributeListeners, notifyListeners, removeTorrentAttributeListener
-
Constructor Details
-
TorrentAttributeCategoryImpl
protected TorrentAttributeCategoryImpl()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTorrentAttribute- Specified by:
getNamein classBaseTorrentAttributeImpl
-
getDefinedValues
Description copied from interface:TorrentAttributeReturns the currently defined values for this attribute- Specified by:
getDefinedValuesin interfaceTorrentAttribute- Overrides:
getDefinedValuesin classBaseTorrentAttributeImpl- Returns:
-
addDefinedValue
Description copied from interface:TorrentAttributeAdds a new value to the attribute set- Specified by:
addDefinedValuein interfaceTorrentAttribute- Overrides:
addDefinedValuein classBaseTorrentAttributeImpl- Parameters:
name-
-
removeDefinedValue
Description copied from interface:TorrentAttributeRemoves a value from the attribute set- Specified by:
removeDefinedValuein interfaceTorrentAttribute- Overrides:
removeDefinedValuein classBaseTorrentAttributeImpl- Parameters:
name-
-