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 java.lang.Object
FieldValidationSupport. parseClient(java.lang.String clientValue, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)
A wrapper aroundTranslator.parseClient(Field, String, String)
.java.lang.String
FieldValidationSupport. toClient(java.lang.Object value, ComponentResources componentResources, FieldTranslator<java.lang.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, java.lang.String parameterName)
FieldTranslator
FieldTranslatorSourceImpl. createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
FieldTranslator
FieldTranslatorSourceImpl. createTranslator(ComponentResources resources, java.lang.String translatorName)
FieldTranslator
FieldTranslatorSourceImpl. createTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)
FieldTranslator
ComponentDefaultProviderImpl. defaultTranslator(java.lang.String parameterName, ComponentResources resources)
Methods in org.apache.tapestry5.internal.services with parameters of type FieldTranslator Modifier and Type Method Description java.lang.Object
FieldValidationSupportImpl. parseClient(java.lang.String clientValue, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)
java.lang.String
FieldValidationSupportImpl. toClient(java.lang.Object value, ComponentResources componentResources, FieldTranslator<java.lang.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, java.lang.String parameterName)
FieldTranslator
FieldTranslatorSource. createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
Creates aFieldTranslator
for the given property, or returns null if one can't be constructed.FieldTranslator
FieldTranslatorSource. createTranslator(ComponentResources componentResources, java.lang.String translatorName)
Creates a translator (used by thetranslate: binding prefix
).FieldTranslator
FieldTranslatorSource. createTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, Translator translator)
Wraps aTranslator
as a FieldTranslator.FieldTranslator
ComponentDefaultProvider. defaultTranslator(java.lang.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, java.lang.String parameterName, FieldTranslator translator)
-