Uses of Interface
org.apache.tapestry5.FieldTranslator
-
Packages that use FieldTranslator Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.corelib.pages The set of core pages available in all Tapestry applicationsorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.services Core servicesorg.apache.tapestry5.test Support for testing Tapestry pages -
-
Uses of FieldTranslator in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type FieldTranslator Modifier and Type Method Description Object
FieldValidationSupport. parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
A wrapper aroundTranslator.parseClient(Field, String, String)
.String
FieldValidationSupport. toClient(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
A wrapper aroundTranslator.toClient(Object)
that first fires a "toclient" event on the component to see if it can perform the conversion. -
Uses of FieldTranslator in org.apache.tapestry5.corelib.pages
Methods in org.apache.tapestry5.corelib.pages that return FieldTranslator Modifier and Type Method Description FieldTranslator
PropertyEditBlocks. getNumberFieldTranslator()
FieldTranslator
PropertyEditBlocks. getPasswordFieldTranslator()
FieldTranslator
PropertyEditBlocks. getTextAreaTranslator()
FieldTranslator
PropertyEditBlocks. getTextFieldTranslator()
-
Uses of FieldTranslator in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement FieldTranslator Modifier and Type Class Description class
FieldTranslatorImpl<T>
Methods in org.apache.tapestry5.internal.services that return FieldTranslator Modifier and Type Method Description FieldTranslator
FieldTranslatorSourceImpl. createDefaultTranslator(ComponentResources resources, String parameterName)
FieldTranslator
FieldTranslatorSourceImpl. createDefaultTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations)
FieldTranslator
FieldTranslatorSourceImpl. createTranslator(ComponentResources resources, String translatorName)
FieldTranslator
FieldTranslatorSourceImpl. createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator)
FieldTranslator
ComponentDefaultProviderImpl. defaultTranslator(String parameterName, ComponentResources resources)
Methods in org.apache.tapestry5.internal.services with parameters of type FieldTranslator Modifier and Type Method Description Object
FieldValidationSupportImpl. parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
String
FieldValidationSupportImpl. toClient(Object value, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
-
Uses of FieldTranslator in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return FieldTranslator Modifier and Type Method Description FieldTranslator
FieldTranslatorSource. createDefaultTranslator(ComponentResources resources, String parameterName)
FieldTranslator
FieldTranslatorSource. createDefaultTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Class propertyType, AnnotationProvider propertyAnnotations)
Creates aFieldTranslator
for the given property, or returns null if one can't be constructed.FieldTranslator
FieldTranslatorSource. createTranslator(ComponentResources componentResources, String translatorName)
Creates a translator (used by thetranslate: binding prefix
).FieldTranslator
FieldTranslatorSource. createTranslator(Field field, String overrideId, Messages overrideMessages, Locale locale, Translator translator)
Wraps aTranslator
as a FieldTranslator.FieldTranslator
ComponentDefaultProvider. defaultTranslator(String parameterName, ComponentResources resources)
FieldTranslator
PropertyEditContext. getTranslator(Field field)
Returns the translator appropriate for the field (this is based on the property type). -
Uses of FieldTranslator in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return FieldTranslator Modifier and Type Method Description protected FieldTranslator
TapestryTestCase. mockFieldTranslator()
Methods in org.apache.tapestry5.test with parameters of type FieldTranslator Modifier and Type Method Description protected void
TapestryTestCase. train_createDefaultTranslator(FieldTranslatorSource source, ComponentResources resources, String parameterName, FieldTranslator translator)
-