Class FixedSkinActionFactory.MySkinAction
java.lang.Object
net.sf.basedb.clients.web.extensions.skin.FixedSkinActionFactory.MySkinAction
- All Implemented Interfaces:
DynamicActionAttributes
,SkinAction
,Action
- Enclosing class:
- FixedSkinActionFactory
static class FixedSkinActionFactory.MySkinAction
extends Object
implements SkinAction, DynamicActionAttributes
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet an iterator that return all dynamic attributes.Get the full path to a favicon for the BASE site.getId()
Get the ID of the extension.void
remapImages
(ImageRemapper mapper) Remap images to another location.
-
Field Details
-
factory
-
xtId
-
-
Constructor Details
-
MySkinAction
MySkinAction(FixedSkinActionFactory factory, String xtId)
-
-
Method Details
-
getId
Description copied from interface:SkinAction
Get the ID of the extension. Optional, but required to generate a <div> tag with dynamic attributes (if the actions implements theDynamicActionAttributes
interface).- Specified by:
getId
in interfaceSkinAction
-
getFavicon
Description copied from interface:SkinAction
Get the full path to a favicon for the BASE site.- Specified by:
getFavicon
in interfaceSkinAction
-
remapImages
Description copied from interface:SkinAction
Remap images to another location. UseImageRemapper.map(String, String)
to re-map an image from a source location to a destination location. Note that this method is not called on every use of the skin, but only after something has changed due to installation/uninstallation or enabling/disabled skins. The re-mapped images are then cached.- Specified by:
remapImages
in interfaceSkinAction
-
getDynamicActionAttributes
Description copied from interface:DynamicActionAttributes
Get an iterator that return all dynamic attributes. If no dynamic attributes have been defined, the method may return null or an iterator that doesn't return any elements.- Specified by:
getDynamicActionAttributes
in interfaceDynamicActionAttributes
- Returns:
- An iterator or null
-