Package org.oddjob.arooa.types
Class InlineType
java.lang.Object
org.oddjob.arooa.types.InlineType
- All Implemented Interfaces:
ArooaValue,ArooaContextAware,ValueFactory<ArooaConfiguration>
public class InlineType
extends Object
implements ArooaContextAware, ValueFactory<ArooaConfiguration>
Description
A type that provides configuration. It is very likeXMLType but provides a form for the
configuration during design rather than a Text Area for raw XML.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvide information so that the Design Form knows what design the root should be.Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArooaElementstatic final StringTo support the correct root element in the form,DesignFactorys must provide aInlineType.ConfigurationDefinitionregistered in the session'sBeanRegistrywith the name given byINLINE_CONFIGURATION_DEFINITION. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigurationDefinition(ArooaElement rootElement, DesignFactory designFactory) voidsetArooaContext(ArooaContext context) toValue()Provide an instance of the type this is a factory for.
-
Field Details
-
ELEMENT
-
INLINE_CONFIGURATION_DEFINITION
To support the correct root element in the form,DesignFactorys must provide aInlineType.ConfigurationDefinitionregistered in the session'sBeanRegistrywith the name given byINLINE_CONFIGURATION_DEFINITION.- See Also:
-
-
Constructor Details
-
InlineType
public InlineType()
-
-
Method Details
-
setArooaContext
- Specified by:
setArooaContextin interfaceArooaContextAware
-
toValue
Description copied from interface:ValueFactoryProvide an instance of the type this is a factory for.- Specified by:
toValuein interfaceValueFactory<ArooaConfiguration>- Returns:
- An instance of the type. May be null.
-
configurationDefinition
public static InlineType.ConfigurationDefinition configurationDefinition(ArooaElement rootElement, DesignFactory designFactory)
-