l.a.b.t.SpecificationImageDisplayAPI(ObjectImageDisplayAPI) : class documentation

Part of lp.app.browser.tales View In Hierarchy

Adapter for ISpecification objects to a formatted string. This inherits from the generic ObjectImageDisplayAPI and overrides the icon presentation method.

Used for image:icon.

Method sprite_css Return the CSS class for the sprite
Method icon Undocumented
Method badges Undocumented

Inherited from ObjectImageDisplayAPI:

Method __init__ Undocumented
Method default_logo_resource Undocumented
Method default_mugshot_resource Undocumented
Method custom_icon_url Return the URL for this object's icon.
Method logo Return the appropriate <img> tag for this object's logo.
Method mugshot Return the appropriate <img> tag for this object's mugshot.
Method boolean Return an icon representing the context as a boolean value.
def sprite_css(self):
Return the CSS class for the sprite
def icon(self):
Undocumented
def badges(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.