|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.generator.BaseComponentGenerator
org.alfresco.web.bean.generator.LabelGenerator
public class LabelGenerator
Generates a text field component to represent a label.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.web.bean.generator.BaseComponentGenerator |
---|
BaseComponentGenerator.ControlType |
Constructor Summary | |
---|---|
LabelGenerator()
|
Method Summary | |
---|---|
javax.faces.component.UIComponent |
generate(javax.faces.context.FacesContext context,
java.lang.String id)
Dynamically generates a component in a default state |
javax.faces.component.UIComponent |
generateAndAdd(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
Dynamically generates a component for the given property sheet item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelGenerator()
Method Detail |
---|
public javax.faces.component.UIComponent generate(javax.faces.context.FacesContext context, java.lang.String id)
IComponentGenerator
context
- FacesContextid
- Optional id for the newly created component, if null
is passed a unique id is generated
public javax.faces.component.UIComponent generateAndAdd(javax.faces.context.FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item)
IComponentGenerator
generateAndAdd
in interface IComponentGenerator
generateAndAdd
in class BaseComponentGenerator
context
- FacesContextpropertySheet
- The property sheet componentitem
- The wrappper component representing the item to generate,
either a property, association or child association
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |