Package org.apache.tapestry5.services
Class BeanBlockContribution
-
- org.apache.tapestry5.services.BeanBlockContribution
-
- Direct Known Subclasses:
DisplayBlockContribution
,EditBlockContribution
public class BeanBlockContribution extends
A contribution to theBeanBlockSource
service, defining a page name and block id (within the page) that can edit or display a particular type of property.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description getBlockId()
The id of the block within the page.getDataType()
The type of data for which the indicated block will provide an editor or displayer for.getPageName()
The logical name of the page containing the block.boolean
isEdit()
If true, then the block provides an editor for the property, consisting of aLabel
and some field component (or set of field components).
-
-
-
Method Detail
-
getDataType
public final getDataType()
The type of data for which the indicated block will provide an editor or displayer for.
-
getBlockId
public final getBlockId()
The id of the block within the page.
-
isEdit
public final boolean isEdit()
If true, then the block provides an editor for the property, consisting of aLabel
and 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
public final getPageName()
The logical name of the page containing the block.
-
-