Package | Description |
---|---|
org.apache.tapestry5.beaneditor |
Support classes for the
BeanEditor
component. |
org.apache.tapestry5.corelib.components |
The set of core components available in all Tapestry applications
|
org.apache.tapestry5.corelib.pages |
The set of core pages available in all Tapestry applications
|
org.apache.tapestry5.grid |
Support classes for the
Grid
component, which presents tabular data in an (X)HTML table. |
org.apache.tapestry5.internal.beaneditor |
[INTERNAL USE ONLY] support classes for the
BeanEditor component; API subject to change |
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.test |
Support for testing Tapestry pages
|
Modifier and Type | Method and Description |
---|---|
BeanModel<T> |
BeanModel.exclude(String... propertyNames)
Removes the named properties from the model, if present.
|
BeanModel<T> |
BeanModel.include(String... propertyNames)
Re-orders the properties of the model into the specified order.
|
BeanModel |
PropertyModel.model()
Returns the containing model, often used for "fluent" construction of the model.
|
BeanModel<T> |
BeanModel.reorder(String... propertyNames)
Re-orders the properties of the model into the specified order.
|
Modifier and Type | Method and Description |
---|---|
BeanModel |
Grid.getDataModel() |
BeanModel |
BeanDisplay.getModel() |
Modifier and Type | Field and Description |
---|---|
static BeanModel<Page> |
PageCatalog.model |
Modifier and Type | Method and Description |
---|---|
BeanModel |
GridModel.getDataModel()
Returns the data model, which defines the columns (in terms of properties of the row type), and provides access
to actual values for a given row instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanModelImpl<T> |
Modifier and Type | Method and Description |
---|---|
BeanModel<T> |
BeanModelImpl.exclude(String... propertyNames) |
BeanModel<T> |
BeanModelImpl.include(String... propertyNames) |
BeanModel |
PropertyModelImpl.model() |
BeanModel<T> |
BeanModelImpl.reorder(String... propertyNames) |
Modifier and Type | Method and Description |
---|---|
static void |
BeanModelUtils.add(BeanModel model,
String propertyNames)
Adds empty properties to the bean model.
|
static void |
BeanModelUtils.exclude(BeanModel model,
String propertyNames)
Removes properties from the bean model.
|
static void |
BeanModelUtils.include(BeanModel model,
String propertyNames)
Selects a subset of the properties to keep, and reorders them.
|
static void |
BeanModelUtils.modify(BeanModel model,
String addPropertyNames,
String includePropertyNames,
String excludePropertyNames,
String reorderPropertyNames)
Performs standard set of modifications to a
BeanModel
. |
static void |
BeanModelUtils.reorder(BeanModel model,
String propertyNames)
Reorders properties within the bean model.
|
Constructor and Description |
---|
PropertyModelImpl(BeanModel model,
String name,
PropertyConduit conduit,
Messages messages) |
Modifier and Type | Method and Description |
---|---|
<T> BeanModel<T> |
BeanModelSourceImpl.create(Class<T> beanClass,
boolean filterReadOnlyProperties,
Messages messages) |
<T> BeanModel<T> |
BeanModelSourceImpl.createDisplayModel(Class<T> beanClass,
Messages messages) |
<T> BeanModel<T> |
BeanModelSourceImpl.createEditModel(Class<T> beanClass,
Messages messages) |
Modifier and Type | Method and Description |
---|---|
<T> BeanModel<T> |
BeanModelSource.create(Class<T> beanClass,
boolean filterReadOnlyProperties,
Messages messages)
|
<T> BeanModel<T> |
BeanModelSource.createDisplayModel(Class<T> beanClass,
Messages messages)
Creates a model for display purposes; this may include properties which are read-only.
|
<T> BeanModel<T> |
BeanModelSource.createEditModel(Class<T> beanClass,
Messages messages)
Creates a model for edit and update purposes, only properties that are fully read-write are included.
|
Modifier and Type | Method and Description |
---|---|
protected BeanModel |
TapestryTestCase.mockBeanModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
TapestryTestCase.train_createEditModel(BeanModelSource source,
Class beanClass,
Messages messages,
BeanModel model) |
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.