|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertySearchFilterContext
Defines a context for editing a property of a bean via BeanEditor.
This value is made available to blocks via the Environmental annotation.
BeanBlockSource| Method Summary | |
|---|---|
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). |
| Methods inherited from interface org.apache.tapestry5.ioc.AnnotationProvider |
|---|
getAnnotation |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||