Modifier and Type | Field and Description |
---|---|
Map<Variant.RecordVariant,UIComponent> |
LspsFormConnector.ValidationErrors.errors
Contains instances of record "ui::ValidationError".
|
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
LspsContextHolder.submitContext(Variant.RecordVariant screenNavigation)
Submits the context and handles the navigation.
|
Modifier and Type | Method and Description |
---|---|
void |
LspsFormConnector.ValidationErrors.add(Variant.RecordVariant record,
UIComponent scope)
Adds given ui::ValidationError record to the
LspsFormConnector.ValidationErrors.errors map. |
Variant.RecordVariant |
LspsContextHolder.submitContext(Variant.RecordVariant screenNavigation)
Submits the context and handles the navigation.
|
Constructor and Description |
---|
ResourceConverter(Variant.RecordVariant wrappedConverter,
LspsContextHolder contextHolder)
Constructor which wraps the ResourceConverter record and the context holder.
|
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
WAbstractTable.Column.def
forms::GridColumn, not null, present.
|
Modifier and Type | Method and Description |
---|---|
protected Variant.RecordVariant |
ComponentWithValue.getBinding() |
Variant.RecordVariant |
Form.getDef(FormComponent component)
Returns the LSPS Record instance, mapped one-to-one to given Vaadin Form Component instance.
|
Variant.RecordVariant |
WAbstractTable.Column.getFilterValueProviderDef()
Returns the filter value provider for this column.
|
Variant.RecordVariant |
WAbstractTable.Column.getSortValueProviderDef()
Returns the sort value provider for this column.
|
Variant.RecordVariant |
WAbstractTable.Column.getValueProviderDef()
Returns the value provider for this column.
|
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.addon.charts.model.style.SolidColor |
WAbstractChart.asColor(Variant.RecordVariant value) |
protected <T extends com.vaadin.addon.charts.model.Axis> |
WAbstractChart.configureAxis(T axis,
Variant.RecordVariant def)
Configures the axis attributes.
|
FormComponent |
FormComponentFactory.create(Variant.RecordVariant def)
Creates an instance of given component.
|
protected FormComponent |
FormComponentFactory.createAccordion(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createActionLink(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createBrowserFrame(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createButton(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createButtonRenderer(WGrid owner,
Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createCalendar(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createCartesianChart(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createCheckBox(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createCheckBoxList(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createCollapsible(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createComboBox(Variant.RecordVariant def) |
void |
Form.createComponent(Variant.RecordVariant def)
INTERNAL, DO NOT CALL.
|
com.vaadin.data.util.converter.Converter<?,?> |
FormComponentFactory.createConverterForRenderer(WGrid owner,
Variant.RecordVariant rendererDef)
Optionally a converter may be used together with a renderer, to convert LSPS types to Java objects as expected by the renderer.
|
protected FormComponent |
FormComponentFactory.createCssLayout(Variant.RecordVariant def) |
protected WCustomField |
FormComponentFactory.createCustomField(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createDateField(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createDateRenderer(Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createDecimalField(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createDownload(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createDropZone(Variant.RecordVariant def) |
com.vaadin.ui.Field<?> |
FormComponentFactory.createEditor(Variant.RecordVariant editorDef,
Type type)
Creates a new editor field from the editor definition and the model type.
|
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createEnumerationRenderer(Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createFormLayout(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createGaugeChart(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createGrid(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createGridLayout(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createGridStackDashboard(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createHorizontalLayout(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createHorizontalSplitPanel(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createHtmlRenderer(WGrid owner,
Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createImage(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createImageRenderer(WGrid owner,
Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createLabel(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createLink(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createLinkRenderer(WGrid owner,
Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createMapDisplay(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createMultiselectComboBox(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createMultiSelectList(Variant.RecordVariant def) |
protected com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createNumberRenderer(Variant.RecordVariant rendererDef) |
protected FormComponent |
FormComponentFactory.createPanel(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createPasswordField(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createPdfViewer(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createPieChart(Variant.RecordVariant def) |
protected com.vaadin.addon.charts.model.AbstractPlotOptions |
WAbstractChart.createPlotOptions(Variant.RecordVariant vPlotOptions) |
protected FormComponent |
FormComponentFactory.createPolarChart(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createPopup(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createRadioButtonList(Variant.RecordVariant def) |
com.vaadin.ui.renderers.Renderer<?> |
FormComponentFactory.createRenderer(WGrid owner,
Variant.RecordVariant rendererDef)
Creates a renderer instance which renders Grid cells.
|
protected FormComponent |
FormComponentFactory.createRichTextArea(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createSearchComboBox(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createSingleSelectList(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createSlider(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createSortableLayout(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTable(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTabSheet(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTextArea(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTextField(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTokenField(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTree(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createTreeTable(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createUpload(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createVerticalLayout(Variant.RecordVariant def) |
protected FormComponent |
FormComponentFactory.createVerticalSplitPanel(Variant.RecordVariant def) |
protected WAbstractTable.Column |
WAbstractTable.getColumn(Variant.RecordVariant propertyId)
Gets the table column for the given property.
|
protected <T extends com.vaadin.addon.charts.model.AbstractDataLabels> |
WAbstractChart.setupDataLabels(Variant.RecordVariant vDataLabels,
T labels) |
protected com.vaadin.addon.charts.model.Labels |
WAbstractChart.setupLabels(Variant.RecordVariant vDataLabels,
com.vaadin.addon.charts.model.Labels labels) |
protected com.vaadin.addon.charts.model.DataLabels |
WPieChart.setupPieDataLabels(Variant.RecordVariant vDataLabels,
com.vaadin.addon.charts.model.DataLabels labels) |
Constructor and Description |
---|
Column(Variant.RecordVariant def) |
ValueProperty(ComponentWithValue<T> owner,
Variant.RecordVariant bindingRecord,
Class<T> valueType)
Creates the adapter around given forms::Binding instance.
|
WButtonRenderer(WGrid owner,
Variant.RecordVariant rendererDef)
Creates a new button renderer for a grid.
|
WImageRenderer(WGrid owner,
Variant.RecordVariant rendererDef)
Creates a new image renderer for the grid component.
|
WLinkRenderer(WGrid owner,
Variant.RecordVariant rendererDef)
Creates a link renderer for the grid component.
|
WRendererClickListener(WGrid grid,
Variant.RecordVariant rendererDef,
String handlerProperty)
Creates a new click listener for the clickable renderer.
|
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
LspsValueProvider.valueProvider
The forms::ValueProvider record, not null, always present.
|
Modifier and Type | Method and Description |
---|---|
static ValueProvider |
LspsValueProvider.create(Variant.RecordVariant valueProvider,
Form form)
A factory method for the LSPS value provider.
|
Constructor and Description |
---|
Lsps(Variant.RecordVariant ds,
Form form) |
RecordVariantValueWriter(Variant.RecordVariant record,
PropertyPath path)
Creates a new value writer with the target specified by the record
and it's property path.
|
VaadinContainerDataSourceAdapter(Variant.RecordVariant dataSource)
Wraps forms::DataSource
|
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
FilterConfig.config
A wrapped filter configuration record.
|
Modifier and Type | Method and Description |
---|---|
static FilterConfig |
FilterConfig.newInstance(Variant.RecordVariant config)
Creates a new instance of the filter configuration based on the provided
forms::FilterConfig record. |
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
ConstraintViolation.getRecord()
Gets the record the constraint violation pertains to.
|
Variant.RecordVariant |
ConstraintViolation.getViolation()
Gets the wrapped constraint violation.
|
Constructor and Description |
---|
ConstraintViolation(Variant.RecordVariant constraintViolation)
Wraps the
core::ConstraintViolation record variant to provide better API
for the work with the record. |
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
UIComponentFactoryImpl.ScreenLevelRecord.validationErrorOriginal
Original ui::ValidationError as received from the VALIDATE closure.
|
Variant.RecordVariant |
UIComponentFactoryImpl.ScreenLevelRecord.validationErrorScreenLevel
Screen-level ui::ValidationError copy.
|
Modifier and Type | Field and Description |
---|---|
Map<Variant.RecordVariant,UIPopup> |
UIScreen.dynamicPopups
INTERNAL API.
|
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
UIComponentData.getDefinition() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.data.util.converter.Converter<?,?> |
UIComponentFactoryImpl.createConverterForRenderer(UIGrid owner,
Variant.RecordVariant rendererDef) |
com.vaadin.data.util.converter.Converter<?,?> |
UIComponentFactory.createConverterForRenderer(UIGrid owner,
Variant.RecordVariant rendererDef)
Optionally a converter may be used together with a renderer, to convert LSPS types to Java objects as expected by the renderer.
|
com.vaadin.ui.Field<?> |
UIComponentFactoryImpl.createEditor(Variant.RecordVariant editorDef,
Type type) |
com.vaadin.ui.Field<?> |
UIComponentFactory.createEditor(Variant.RecordVariant editorDef,
Type type)
Instantiates an editor field based on the editor definition record
and the value type.
|
protected void |
UIEventQueue.failNoInstances(Variant.RecordVariant executionContext,
UIListener uiListener)
By default LSPS rejects to silently not execute a listener if there are no instances of the 'execution context' components.
|
static Variant<ReferenceHolder> |
Bindings.getBinding(Variant.RecordVariant def)
Retrieves the value of the "Binding" field.
|
String |
UIComponentFactoryImpl.getErrorMessage(Variant.RecordVariant validationError,
UIComponent scope) |
String |
UIComponentFactory.getErrorMessage(Variant.RecordVariant validationError,
UIComponent scope)
Retrieves the error message from the "ui::ValidationError" record.
|
static boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isShownOn(Variant.RecordVariant validationError,
UIComponent component)
Deprecated.
|
static boolean |
UIComponentFactoryImpl.isUIValidationError(Variant.RecordVariant record)
Checks if given record is the "old" Validation error with error message and a placement.
|
ContextWrapper |
ViewModelMerger.registerViewModel(Variant.RecordVariant viewModel,
ContextWrapper parent) |
ContextWrapper |
UIScreen.registerViewModel(Variant.RecordVariant viewModel,
ContextWrapper parent)
INTERNAL API, do not use
|
Constructor and Description |
---|
ScreenLevelRecord(Variant.RecordVariant validationError,
LspsScreen screen) |
Modifier and Type | Field and Description |
---|---|
Variant.RecordVariant |
TreeItem.record
The
ui::TreeItem record itself, not null. |
Modifier and Type | Method and Description |
---|---|
List<Variant.RecordVariant> |
UITabbedLayout.getTabs()
Returns all tabs, both dynamic and static ones, currently registered to this layout.
|
Modifier and Type | Method and Description |
---|---|
void |
UITabbedLayout.addTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
void |
UITabbedLayout.removeTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
void |
UITabbedLayout.selectTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
protected void |
UIGenericChart.updateAxis(com.vaadin.addon.charts.model.Axis axis,
Variant.RecordVariant axisDefinition)
Updates the chart axis with the values from the axis definition.
|
Constructor and Description |
---|
TreeItem(Variant.RecordVariant record,
UIComponent owner) |
UIFileResource(Variant.RecordVariant file,
UIImage owner)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
FilterUI.getCustomFilterUI() |
Variant.RecordVariant |
FilterUI.getStandardFilterUI() |
Modifier and Type | Method and Description |
---|---|
UITableColumn |
UITableBase.addDynamicColumn(Variant.RecordVariant column)
INTERNAL API, DO NOT USE.
|
Constructor and Description |
---|
FilterUI(Variant.RecordVariant customFilterUI,
Variant.RecordVariant standardFilterUI) |
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
UIViewModelAction.getDefinition() |
Variant.RecordVariant |
UINavigateAction.getDefinition()
Returns action definition.
|
Variant.RecordVariant |
UIListenerImpl.getListenerDefinition(UIComponent scope) |
Variant.RecordVariant |
UIListener.getListenerDefinition(UIComponent scope)
Returns the listener definition, never null.
|
Variant.RecordVariant |
UINavigateAction.getNavigationTarget()
Evaluates a navigation closure.
|
Constructor and Description |
---|
UIFireAppEventAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UINavigateAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIPersistAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UISaveAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIViewModelAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
Variant.RecordVariant |
Variant.RecordVariant.checkPresent()
Fails if the value is absent.
|
Variant.RecordVariant |
Variant.RecordVariant.checkSubtypeOf(String type)
Checks that the record is of given type or is its subtype.
|
Variant.RecordVariant |
Variant.RecordVariant.checkSubtypeOf(String type,
String message)
Checks that the record is of given type or is its subtype.
|
Variant.RecordVariant |
Variant.RecordVariant.checkType(String type)
Checks that the record is of given type.
|
static Variant.RecordVariant |
Variant.definitionOf(UIComponent component)
Returns record variant which accesses given component definition.
|
static Variant.RecordVariant |
Variant.definitionOf(UIComponentData data)
Returns record variant which accesses given component definition.
|
Variant.RecordVariant |
Variant.RecordVariant.inLevel(ContextWrapper context) |
static Variant.RecordVariant |
Variant.ofOrigin(RecordHolder value,
Variant.Origin origin,
LspsContextHolder context)
Wraps given RecordHolder, with given origin.
|
static Variant.RecordVariant |
Variant.ofUnknownOrigin(RecordHolder value,
LspsContextHolder context)
Wraps given RecordHolder, with no origin.
|
static Variant.RecordVariant |
Variant.ofUnknownOrigin(RecordHolder value,
UIComponent origin)
Wraps given RecordHolder which somehow originated from given component (e.g.
|
Variant.RecordVariant |
Variant.RecordVariant.orVariant(RecordHolder defaultValue) |
Variant.RecordVariant |
Variant.record()
Casts the value.
|
Variant.RecordVariant |
Variant.RecordVariant.toValue(RecordHolder newValue)
Creates a new variant of same type and origin, but with given value.
|
Modifier and Type | Method and Description |
---|---|
static com.vaadin.server.Resource |
WResource.convert(Variant.RecordVariant resource,
boolean forceSave)
Converts the resource to a Vaadin resource.
|
static List<Variant<RecordHolder>> |
UIComponents.getChildren(Variant.RecordVariant def)
Lists child component definitions from given component definition.
|
Modifier and Type | Method and Description |
---|---|
static List<RecordHolder> |
Utils.unwrapVariants(Collection<Variant.RecordVariant> variants)
Unwraps the record variants in the given collection to a list of record holders.
|
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.