public class InlineType extends java.lang.Object implements ArooaContextAware, ValueFactory<ArooaConfiguration>
XMLType
but provides a form for the
configuration during design rather than a Text Area for raw XML.
To support the correct root element in the form, DesignFactory
s must provide a
InlineType.ConfigurationDefinition
registered in the session's BeanRegistry
with the name given by INLINE_CONFIGURATION_DEFINITION
.Modifier and Type | Class and Description |
---|---|
static interface |
InlineType.ConfigurationDefinition
Provide information so that the Design Form knows what design the root should be.
|
ValueFactory.Conversions
Modifier and Type | Field and Description |
---|---|
static ArooaElement |
ELEMENT |
static java.lang.String |
INLINE_CONFIGURATION_DEFINITION |
Constructor and Description |
---|
InlineType() |
Modifier and Type | Method and Description |
---|---|
static InlineType.ConfigurationDefinition |
configurationDefinition(ArooaElement rootElement,
DesignFactory designFactory) |
void |
setArooaContext(ArooaContext context) |
ArooaConfiguration |
toValue()
Provide an instance of the type this is a factory for.
|
public static final ArooaElement ELEMENT
public static final java.lang.String INLINE_CONFIGURATION_DEFINITION
public void setArooaContext(ArooaContext context)
setArooaContext
in interface ArooaContextAware
public ArooaConfiguration toValue()
ValueFactory
toValue
in interface ValueFactory<ArooaConfiguration>
public static InlineType.ConfigurationDefinition configurationDefinition(ArooaElement rootElement, DesignFactory designFactory)