| Package | Description |
|---|---|
| to.etc.domui.component.controlfactory | |
| to.etc.domui.component.meta | |
| to.etc.domui.component.meta.impl | |
| to.etc.domui.server |
| Modifier and Type | Class and Description |
|---|---|
class |
ControlFactoryDate
Accepts the "java.util.Date" type only and creates a DateInput component for it.
|
class |
ControlFactoryEnumAndBool
Accepts both enum and bools and shows a combobox with the possible choices.
|
class |
ControlFactoryMoney
Factory which creates a Text input specialized for entering monetary amounts.
|
class |
ControlFactoryRelationCombo
Accepts any property defined as an UP relation (parent) and score higher if a component type
hint is received.
|
class |
ControlFactoryRelationLookup
Accepts any UP (parent) relation and scores 3, preferring this above the combobox-based
lookup.
|
class |
ControlFactoryString
This is a fallback factory; it accepts anything and shows a String edit component OR a
DisplayValue component for it.
|
class |
ControlFactoryTextArea |
| Modifier and Type | Field and Description |
|---|---|
static PropertyControlFactory |
PropertyControlFactory.BOOLEAN_AND_ENUM_CF |
static PropertyControlFactory |
PropertyControlFactory.DATE_CF |
static PropertyControlFactory |
PropertyControlFactory.RELATION_COMBOBOX_CF
Factory for UP relations.
|
static PropertyControlFactory |
PropertyControlFactory.RELATION_LOOKUP_CF |
static PropertyControlFactory |
PropertyControlFactory.STRING_CF
This is a fallback factory; it accepts anything and shows a String edit component for it.
|
static PropertyControlFactory |
PropertyControlFactory.TEXTAREA_CF |
| Modifier and Type | Method and Description |
|---|---|
PropertyControlFactory |
ControlBuilder.findControlFactory(PropertyMetaModel<?> pmm,
boolean editable,
Class<?> controlClass)
Find the best control factory to use to create a control for the given property and mode.
|
PropertyControlFactory |
ControlBuilder.getControlFactory(PropertyMetaModel<?> pmm,
boolean editable,
Class<?> controlClass)
Find the best control factory to use to create a control for the given property and mode, throws
an Exception if the factory cannot be found.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<PropertyControlFactory> |
ControlBuilder.getControlFactoryList() |
| Modifier and Type | Method and Description |
|---|---|
void |
ControlBuilder.registerControlFactory(PropertyControlFactory cf) |
| Modifier and Type | Method and Description |
|---|---|
PropertyControlFactory |
PropertyMetaModel.getControlFactory()
If a specific control factory is to be used to create controls for this item this returns that factory.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyControlFactory |
AbstractPropertyMetaModel.getControlFactory() |
PropertyControlFactory |
BasicPropertyMetaModel.getControlFactory() |
PropertyControlFactory |
PropertyMetaModelWrapper.getControlFactory() |
PropertyControlFactory |
ExpandedDisplayProperty.getControlFactory() |
PropertyControlFactory |
PathPropertyMetaModel.getControlFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicPropertyMetaModel.setControlFactory(PropertyControlFactory controlFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
DomApplication.registerControlFactory(PropertyControlFactory cf)
Add a new control factory to the registry.
|
Copyright © 2017 etc.to. All rights reserved.