public interface PropertySearchFilterContext
extends org.apache.tapestry5.ioc.AnnotationProvider
BeanEditor.
This value is made available to blocks via the Environmental annotation.BeanBlockSource| Modifier and Type | Method and Description |
|---|---|
org.apache.tapestry5.ioc.Messages |
getContainerMessages()
Returns the message catalog for the container of the
BeanEditForm,
which is the correct place to look for strings used for labels, etc. |
Object |
getHighValue()
Returns the current value of the property being edited (the context encapsulates the object containing the property).
|
String |
getLabel()
Returns the user-presentable label, for use with the
Label
component, or to be integrated into any validation error messages. |
Object |
getLowValue()
Returns the current value of the property being edited (the context encapsulates the object containing the
property).
|
String |
getOperatorId()
Returns a string that identifies the operator, usually derived from the property name.
|
SearchFilterOperator |
getOperatorValue()
Returns the current value of the property being edited (the context encapsulates the object containing the property).
|
String |
getPropertyId()
Returns a string that identifies the property, usually the property name.
|
Class |
getPropertyType()
Returns the type of the property being edited.
|
org.apache.tapestry5.FieldTranslator |
getTranslator(org.apache.tapestry5.Field field)
Returns the translator appropriate for the field (this is based on the property type).
|
org.apache.tapestry5.FieldValidator |
getValidator(org.apache.tapestry5.Field field)
Returns the FieldValidator for the field.
|
boolean |
isEnabled() |
void |
setEnabled(boolean value) |
void |
setHighValue(Object value)
Updates the value of the property being edited (the context encapsulates the object containing the property).
|
void |
setLowValue(Object value)
Updates the value of the property being edited (the context encapsulates the object containing the property).
|
void |
setOperatorValue(SearchFilterOperator value)
Updates the value of the property being edited (the context encapsulates the object containing the property).
|
String getOperatorId()
boolean isEnabled()
void setEnabled(boolean value)
SearchFilterOperator getOperatorValue()
void setOperatorValue(SearchFilterOperator value)
value - new value for the propertyObject getLowValue()
void setLowValue(Object value)
value - new value for the propertyObject getHighValue()
void setHighValue(Object value)
value - new value for the propertyString getLabel()
Label
component, or to be integrated into any validation error messages.org.apache.tapestry5.FieldTranslator getTranslator(org.apache.tapestry5.Field field)
field - TranslatorSourceorg.apache.tapestry5.FieldValidator getValidator(org.apache.tapestry5.Field field)
Validate,
FieldValidatorDefaultSourceString getPropertyId()
Class getPropertyType()
org.apache.tapestry5.ioc.Messages getContainerMessages()
BeanEditForm,
which is the correct place to look for strings used for labels, etc.Copyright © 2004-2013. All Rights Reserved.