Class InstalledLibrary
- java.lang.Object
-
- ca.cgjennings.apps.arkham.plugins.InstalledBundleObject
-
- ca.cgjennings.apps.arkham.plugins.InstalledLibrary
-
- All Implemented Interfaces:
IconProvider
,java.lang.Comparable<InstalledBundleObject>
public final class InstalledLibrary extends InstalledBundleObject
Represents an installed library. Generally, much less information is available about libraries than about other kinds of bundle objects because library bundles do not contain specific plug-ins.- Since:
- 3.0
- Author:
- Chris Jennings
- See Also:
BundleInstaller.getInstalledLibraries()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a description of the plug-in (or other bundle object).ThemedIcon
getIcon()
Returns an icon for the plug-in (or other bundle object).java.lang.String
getName()
Returns the name of the plug-in (or other bundle object).java.lang.String
toString()
Returns the name of the object.-
Methods inherited from class ca.cgjennings.apps.arkham.plugins.InstalledBundleObject
compareTo, getBundle, getCatalogID, getPluginRoot, getPriority, getRepresentativeImage, isUninstallPending, isUpdatePending, markFailed
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:InstalledBundleObject
Returns the name of the plug-in (or other bundle object). If necessary, a new instance of the plug-in will be created temporarily in order to get this information.- Specified by:
getName
in classInstalledBundleObject
- Returns:
- the name reported by the plug-in
-
getDescription
public java.lang.String getDescription()
Description copied from class:InstalledBundleObject
Returns a description of the plug-in (or other bundle object). If necessary, a new instance of the plug-in will be created temporarily in order to get this information.- Specified by:
getDescription
in classInstalledBundleObject
- Returns:
- the description reported by the plug-in
-
getIcon
public ThemedIcon getIcon()
Description copied from class:InstalledBundleObject
Returns an icon for the plug-in (or other bundle object). If the plug-in has a representative image, an icon is returned based on that image. Otherwise, a generic icon is returned based on the type of plug-in bundle.- Specified by:
getIcon
in interfaceIconProvider
- Specified by:
getIcon
in classInstalledBundleObject
- Returns:
- an icon for the plug-in
-
toString
public java.lang.String toString()
Description copied from class:InstalledBundleObject
Returns the name of the object.- Overrides:
toString
in classInstalledBundleObject
- Returns:
- the value of
InstalledBundleObject.getName()
-
-