Class BaseTorrentAttributeImpl
java.lang.Object
com.biglybt.pifimpl.local.torrent.BaseTorrentAttributeImpl
- All Implemented Interfaces:
TorrentAttribute
- Direct Known Subclasses:
TorrentAttributeCategoryImpl
,TorrentAttributeDisplayNameImpl
,TorrentAttributeNetworksImpl
,TorrentAttributePeerSourcesImpl
,TorrentAttributePluginImpl
,TorrentAttributeRelativeSavePathImpl
,TorrentAttributeSharePropertiesImpl
,TorrentAttributeTrackerClientExtImpl
,TorrentAttributeUserCommentImpl
-
Field Summary
FieldsFields inherited from interface com.biglybt.pif.torrent.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 TypeMethodDescriptionvoid
addDefinedValue
(String name) Adds a new value to the attribute setvoid
String[]
Returns the currently defined values for this attributeabstract String
getName()
protected List
protected void
void
removeDefinedValue
(String name) Removes a value from the attribute setvoid
-
Field Details
-
listeners
-
-
Constructor Details
-
BaseTorrentAttributeImpl
protected BaseTorrentAttributeImpl()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceTorrentAttribute
-
getDefinedValues
Description copied from interface:TorrentAttribute
Returns the currently defined values for this attribute- Specified by:
getDefinedValues
in interfaceTorrentAttribute
- Returns:
-
addDefinedValue
Description copied from interface:TorrentAttribute
Adds a new value to the attribute set- Specified by:
addDefinedValue
in interfaceTorrentAttribute
-
removeDefinedValue
Description copied from interface:TorrentAttribute
Removes a value from the attribute set- Specified by:
removeDefinedValue
in interfaceTorrentAttribute
-
addTorrentAttributeListener
- Specified by:
addTorrentAttributeListener
in interfaceTorrentAttribute
-
removeTorrentAttributeListener
- Specified by:
removeTorrentAttributeListener
in interfaceTorrentAttribute
-
getTorrentAttributeListeners
-
notifyListeners
-