| java.lang.Object org.mmbase.util.functions.FunctionProvider org.mmbase.util.functions.DescribedFunctionProvider
All known Subclasses: org.mmbase.module.Module,
DescribedFunctionProvider | abstract public class DescribedFunctionProvider extends FunctionProvider implements Descriptor(Code) | | A described function provider maintains a set of
Function objects, and also contains functionality to add
gui information to the provider itself.
since: MMBase-1.9 author: Pierre van Rooden version: $Id: DescribedFunctionProvider.java,v 1.2 2007/06/19 14:00:11 michiel Exp $ |
name | protected String name(Code) | | Name or key of the provider.
|
DescribedFunctionProvider | protected DescribedFunctionProvider()(Code) | | |
DescribedFunctionProvider | protected DescribedFunctionProvider(String name)(Code) | | Create a described function provider
Parameters: name - the name of the function provider |
getDefaultLocale | protected Locale getDefaultLocale()(Code) | | The locale which must be used if no locale is specified.
The default implementation returns null .
This method can be overriden if another more logical default is
available. E.g. in BasicField the locale of the current cloud is returned.
since: MMBase-1.8.1 |
getGUIName | public String getGUIName(Locale locale)(Code) | | Retrieve the GUI name of the field depending on specified langauge.
If the language is not available, the "en" value is returned instead.
If that one is unavailable the internal fieldname is returned.
the GUI Name |
getGUIName | public String getGUIName()(Code) | | Retrieve the GUI name of the field.
If possible, the "en" value is returned.
If that one is unavailable the internal fieldname is returned.
the GUI Name |
getName | public String getName()(Code) | | Returns the name or 'key' of this descriptor.
the name as a String |
|
|