public class BeanBlockContribution extends Object
BeanBlockSource
service, defining a page name and block id (within the page) that can
edit or display a particular type of property.Constructor and Description |
---|
BeanBlockContribution(String dataType,
String pageName,
String blockId,
boolean edit)
Deprecated.
Use
DisplayBlockContribution.DisplayBlockContribution(String, String, String) or
EditBlockContribution.EditBlockContribution(String, String, String) instead. To be
removed after Tapestry 5.2. |
Modifier and Type | Method and Description |
---|---|
String |
getBlockId()
The id of the block within the page.
|
String |
getDataType()
The type of data for which the indicated block will provide an editor or displayer for.
|
String |
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 a
Label and some field
component (or set of field components). |
public BeanBlockContribution(String dataType, String pageName, String blockId, boolean edit)
DisplayBlockContribution.DisplayBlockContribution(String, String, String)
or
EditBlockContribution.EditBlockContribution(String, String, String)
instead. To be
removed after Tapestry 5.2.public final String getDataType()
public final String getBlockId()
public final boolean isEdit()
Label
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.public final String getPageName()
Copyright © 2003-2012 The Apache Software Foundation.