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.StringgetDescription()Returns a description of the plug-in (or other bundle object).ThemedIcongetIcon()Returns an icon for the plug-in (or other bundle object).java.lang.StringgetName()Returns the name of the plug-in (or other bundle object).java.lang.StringtoString()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:InstalledBundleObjectReturns 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:
getNamein classInstalledBundleObject- Returns:
- the name reported by the plug-in
-
getDescription
public java.lang.String getDescription()
Description copied from class:InstalledBundleObjectReturns 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:
getDescriptionin classInstalledBundleObject- Returns:
- the description reported by the plug-in
-
getIcon
public ThemedIcon getIcon()
Description copied from class:InstalledBundleObjectReturns 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:
getIconin interfaceIconProvider- Specified by:
getIconin classInstalledBundleObject- Returns:
- an icon for the plug-in
-
toString
public java.lang.String toString()
Description copied from class:InstalledBundleObjectReturns the name of the object.- Overrides:
toStringin classInstalledBundleObject- Returns:
- the value of
InstalledBundleObject.getName()
-
-