Uses of Interface
net.sf.jguiraffe.transform.TransformerContext
-
Packages that use TransformerContext Package Description net.sf.jguiraffe.gui.app In this package the main application class can be found.net.sf.jguiraffe.gui.builder The main package of the builder.net.sf.jguiraffe.gui.builder.components This package defines the part of the builder that deals with components.net.sf.jguiraffe.gui.builder.components.tags A package with tag handler classes for creating GUI components.net.sf.jguiraffe.gui.forms A package for dealing with forms.net.sf.jguiraffe.transform The transform package contains interfaces and classes for transforming and validating data. -
-
Uses of TransformerContext in net.sf.jguiraffe.gui.app
Subinterfaces of TransformerContext in net.sf.jguiraffe.gui.app Modifier and Type Interface Description interfaceApplicationContextDefinition of an interface for accessing application global information.Classes in net.sf.jguiraffe.gui.app that implement TransformerContext Modifier and Type Class Description classApplicationContextImplA default implementation of theApplicationContextinterface.Methods in net.sf.jguiraffe.gui.app that return TransformerContext Modifier and Type Method Description TransformerContextApplicationBuilderData. getTransformerContext()Returns the transformer context.Methods in net.sf.jguiraffe.gui.app with parameters of type TransformerContext Modifier and Type Method Description voidApplicationBuilderData. setTransformerContext(TransformerContext transformerContext)Sets the transformer context. -
Uses of TransformerContext in net.sf.jguiraffe.gui.builder
Methods in net.sf.jguiraffe.gui.builder that return TransformerContext Modifier and Type Method Description TransformerContextBuilderData. getTransformerContext()Returns the transformer context to be used by the builder. -
Uses of TransformerContext in net.sf.jguiraffe.gui.builder.components
Methods in net.sf.jguiraffe.gui.builder.components that return TransformerContext Modifier and Type Method Description TransformerContextComponentBuilderData. getTransformerContext()Returns the transformer context.Methods in net.sf.jguiraffe.gui.builder.components with parameters of type TransformerContext Modifier and Type Method Description voidComponentBuilderData. initializeForm(TransformerContext tctx, BindingStrategy strategy)Initializes the main form to be maintained by theComponentBuilderDataobject. -
Uses of TransformerContext in net.sf.jguiraffe.gui.builder.components.tags
Methods in net.sf.jguiraffe.gui.builder.components.tags that return TransformerContext Modifier and Type Method Description protected TransformerContextTransformerBaseTag. getTransformerContext()Returns aTransformerContextfor the managed bean.Methods in net.sf.jguiraffe.gui.builder.components.tags with parameters of type TransformerContext Modifier and Type Method Description protected voidStaticTextDataTransformer. convertProperty(Object o, StaticTextDataImpl data, TransformerContext ctx)Performs the transformation if the object to be converted must be set as a property of aStaticTextDataobject.protected voidStaticTextDataTransformer. populate(StaticTextDataImpl data, TransformerContext ctx)Fills the specified data object with default values.ObjectStaticTextDataTransformer. transform(Object o, TransformerContext ctx)The main method of theTransformerinterface. -
Uses of TransformerContext in net.sf.jguiraffe.gui.forms
Methods in net.sf.jguiraffe.gui.forms that return TransformerContext Modifier and Type Method Description TransformerContextDefaultTransformerWrapper. getTransformerContext()Returns the transformer context to use.TransformerContextDefaultValidatorWrapper. getTransformerContext()Returns theTransformerContextto use.TransformerContextForm. getTransformerContext()Returns the transformer context.Constructors in net.sf.jguiraffe.gui.forms with parameters of type TransformerContext Constructor Description DefaultTransformerWrapper(Transformer t, TransformerContext ctx)Creates a new instance ofDefaultTransformerWrapperand initializes it.DefaultValidatorWrapper(Validator v, TransformerContext ctx)Creates a new instance ofDefaultValidatorWrapperand initializes it.Form(TransformerContext ctx, BindingStrategy strat)Creates a new instance ofFormand initializes it with all required helper objects. -
Uses of TransformerContext in net.sf.jguiraffe.transform
Classes in net.sf.jguiraffe.transform that implement TransformerContext Modifier and Type Class Description classTransformerContextPropertiesWrapperA specialized implementation of theTransformerContextinterface that allows wrapping an existing context and extending its properties.Methods in net.sf.jguiraffe.transform that return TransformerContext Modifier and Type Method Description protected TransformerContextChainValidator. getContextForChildValidator(int index, TransformerContext ctx)Returns theTransformerContextto be used for the specified child validator.TransformerContextTransformerContextPropertiesWrapper. getWrappedContext()Returns the wrapped context.Methods in net.sf.jguiraffe.transform with parameters of type TransformerContext Modifier and Type Method Description protected PatternRegexValidator. createPattern(TransformerContext ctx)Creates a newPatternobject.static ValidationResultDefaultValidationResult. createValidationErrorResult(TransformerContext context, String key, Object... params)Creates aValidationResultobject with the specified error message.static ValidationMessageDefaultValidationResult. createValidationMessage(TransformerContext context, String key, Object... params)Creates aValidationMessageobject for the specified error message.protected booleanChainValidator. doShortEvaluation(TransformerContext ctx)Checks whether short evaluation should be performed by theisValid()method.protected ValidationResultDateTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)Creates a validation result if an error occurred.protected ValidationResultNumberTransformerBase. errorResult(String errorKey, TransformerContext ctx, Object... params)Creates a validation result if an error occurred.protected ValidationResultTimeTransformer. errorResult(String errorKey, TransformerContext ctx, Object... params)Returns a validation result object with an error message.protected TransformerContextChainValidator. getContextForChildValidator(int index, TransformerContext ctx)Returns theTransformerContextto be used for the specified child validator.protected ValidationMessageLevelDefaultValidationMessageHandler. getMessageLevel(TransformerContext context)Determines theValidationMessageLevelfor the validation messages produced by this object.protected PatternRegexValidator. getPattern(TransformerContext ctx)Returns aPatternobject to be used for the validation operation.ValidationMessageDefaultValidationMessageHandler. getValidationMessage(TransformerContext context, String key, Object... params)Returns a validation message.ValidationMessageValidationMessageHandler. getValidationMessage(TransformerContext context, String key, Object... params)Returns aValidationMessageobject for the specified key.protected ValidationResultDateTransformerBase. isDateValid(Date date, DateFormat fmt, TransformerContext ctx, org.apache.commons.configuration.Configuration config)Checks the specified date.protected ValidationResultNumberTransformerBase. isNumberValid(T n, NumberFormat fmt, TransformerContext ctx, T min, T max)Validates an entered number.ValidationResultChainValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultDateTransformerBase. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultDummyTransformer. isValid(Object o, TransformerContext ctx)Performs validation.ValidationResultNumberTransformerBase. isValid(Object o, TransformerContext ctx)Validates the specified object.ValidationResultRegexValidator. isValid(Object o, TransformerContext ctx)Performs the validation as described in the class comment.ValidationResultRequiredValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.ValidationResultValidator. isValid(Object o, TransformerContext ctx)Validates the passed in object.protected booleanRegexValidator. overridesProperties(TransformerContext ctx)Tests whether properties in the specifiedTransformerContextoverride properties of this object.ObjectDateTransformerBase. transform(Object o, TransformerContext ctx)Transforms the specified object.ObjectDummyTransformer. transform(Object o, TransformerContext ctx)Transforms the passed in object.ObjectNumberTransformerBase. transform(Object o, TransformerContext ctx)Transforms the specified object to the target format.ObjectToStringTransformer. transform(Object o, TransformerContext ctx)Transforms the specified object.ObjectTransformer. transform(Object o, TransformerContext ctx)The main method of theTransformerinterface.protected ObjectToStringTransformer. transformDate(Date dt, TransformerContext ctx)Transforms a date object.protected ObjectToStringTransformer. transformDecimalNumber(Object number, TransformerContext ctx)Transforms a decimal number object.protected ObjectToStringTransformer. transformIntegerNumber(Object number, TransformerContext ctx)Transforms an integer number object.protected ObjectToStringTransformer. transformNull(TransformerContext ctx)Transforms a null object.protected ObjectToStringTransformer. transformObject(Object o, TransformerContext ctx)Transforms an arbitrary object.protected ObjectDateTransformerBase. transformToDate(Object o, TransformerContext ctx)Performs a transformation to a date object.protected TNumberTransformerBase. transformToNumber(Object o, TransformerContext ctx, NumberFormat fmt)Transforms the given object into a number.protected ObjectDateTransformerBase. transformToString(Date dt, TransformerContext ctx)Performs a transformation from a date to string.Constructors in net.sf.jguiraffe.transform with parameters of type TransformerContext Constructor Description TransformerContextPropertiesWrapper(TransformerContext orgCtx, Map<String,Object> newProps)Creates a new instance ofTransformerContextPropertiesWrapperand initializes it.
-