Package org.zkoss.zk.ui
Class GenericRichlet
java.lang.Object
org.zkoss.zk.ui.GenericRichlet
- All Implemented Interfaces:
Richlet
Defines a generic richlet. Developers can use it as a skeleton to implement
an application-specific richlet.
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Called by the richlet container to indicate to a richlet that the richlet is being taken out of service.Returns the language definition that this richlet belongs to.voidinit(RichletConfig config) Called by the richlet container to indicate to a richlet that the richlet is being placed into service.
-
Constructor Details
-
GenericRichlet
public GenericRichlet()
-
-
Method Details
-
init
Called by the richlet container to indicate to a richlet that the richlet is being placed into service.Default: does nothing.
-
destroy
public void destroy()Called by the richlet container to indicate to a richlet that the richlet is being taken out of service.Default: does nothing.
-
getLanguageDefinition
Returns the language definition that this richlet belongs to. Don't return null.It is called when creating a new page for this richlet to serve.
Default: return the language definition called "xul/html".
- Specified by:
getLanguageDefinitionin interfaceRichlet
-