Package org.apache.tapestry5.services
Class BeanBlockContribution
java.lang.Object
org.apache.tapestry5.services.BeanBlockContribution
- Direct Known Subclasses:
DisplayBlockContribution,EditBlockContribution
A contribution to the
BeanBlockSource service, defining a page name and block id (within the page) that can
edit or display a particular type of property.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBeanBlockContribution(String dataType, String pageName, String blockId, boolean edit) -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe id of the block within the page.final StringThe type of data for which the indicated block will provide an editor or displayer for.final StringThe logical name of the page containing the block.final booleanisEdit()If true, then the block provides an editor for the property, consisting of aLabeland some field component (or set of field components).
-
Constructor Details
-
BeanBlockContribution
-
-
Method Details
-
getDataType
The type of data for which the indicated block will provide an editor or displayer for. -
getBlockId
The id of the block within the page. -
isEdit
If true, then the block provides an editor for the property, consisting of aLabeland some field component (or set of field components). If false, the block is used to display the value of the property, usually by applying some kind of formatting to the raw value. -
getPageName
The logical name of the page containing the block.
-