Modifier and Type | Field and Description |
---|---|
Map<Variant.RecordVariant,UIComponent> |
LspsFormConnector.ValidationErrors.errors
Contains instances of record "ui::ValidationError".
|
static ThreadLocal<UIComponent> |
VaadinUtils.LISTENER_SCOPE
PRIVATE API, DO NOT USE.
|
Modifier and Type | Method and Description |
---|---|
UIComponent |
LspsScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope)
Creates a Vaadin component based on the provided component definition.
|
UIComponent |
CustomUIWithContextScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
CustomUIScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
LspsScreen.getTopmostComponent()
Returns the topmost component.
|
UIComponent |
CustomUIWithContextScreen.getTopmostComponent() |
UIComponent |
CustomUIScreen.getTopmostComponent() |
Modifier and Type | Method and Description |
---|---|
Set<UIComponent> |
LspsScreen.getAllComponents()
Returns all components contained in this screen.
|
Set<UIComponent> |
AbstractScreen.getAllComponents() |
Set<UIComponent> |
LspsScreen.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent)
Returns all component instances for the given component definition,
visible from the scope of the given component.
|
Set<UIComponent> |
AbstractScreen.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent) |
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. |
void |
LspsScreen.addComponentToRefresh(UIComponent component)
Schedules a component to be refreshed during next call to
LspsScreen.triggerEventProcessing(com.whitestein.lsps.vaadin.ui.events.UIEvent) . |
void |
CustomUIWithContextScreen.addComponentToRefresh(UIComponent component) |
void |
CustomUIScreen.addComponentToRefresh(UIComponent component) |
UIComponent |
LspsScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope)
Creates a Vaadin component based on the provided component definition.
|
UIComponent |
CustomUIWithContextScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
CustomUIScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
Set<UIComponent> |
LspsScreen.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent)
Returns all component instances for the given component definition,
visible from the scope of the given component.
|
Set<UIComponent> |
AbstractScreen.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent) |
boolean |
LspsScreen.isInvalid(UIComponent component)
Checks whether given component is marked as invalid, by calling
LspsScreen.markComponentAsInvalid(com.whitestein.lsps.vaadin.ui.components.UIComponent) . |
boolean |
CustomUIWithContextScreen.isInvalid(UIComponent component) |
boolean |
CustomUIScreen.isInvalid(UIComponent component) |
void |
LspsScreen.markComponentAsInvalid(UIComponent component)
Marks the component as invalid.
|
void |
CustomUIWithContextScreen.markComponentAsInvalid(UIComponent component) |
void |
CustomUIScreen.markComponentAsInvalid(UIComponent component) |
void |
LspsScreen.markComponentAsValid(UIComponent component)
Marks the component as valid again.
|
void |
CustomUIWithContextScreen.markComponentAsValid(UIComponent component) |
void |
CustomUIScreen.markComponentAsValid(UIComponent component) |
void |
LspsScreen.registerUIComponent(UIComponent component)
Register the given UI component and its children in this screen.
|
void |
CustomUIWithContextScreen.registerUIComponent(UIComponent component) |
void |
CustomUIScreen.registerUIComponent(UIComponent component) |
void |
LspsScreen.unregisterUIComponent(UIComponent component)
Unregister the given UI component and its children from this screen.
|
void |
CustomUIWithContextScreen.unregisterUIComponent(UIComponent component) |
void |
CustomUIScreen.unregisterUIComponent(UIComponent component) |
Constructor and Description |
---|
ToStringConverter(UIComponent component)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
UIComponent |
Form.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
Form.getTopmostComponent() |
Modifier and Type | Method and Description |
---|---|
Set<UIComponent> |
Form.getAllComponents() |
Set<UIComponent> |
Form.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent) |
Modifier and Type | Method and Description |
---|---|
void |
Form.addComponentToRefresh(UIComponent component) |
UIComponent |
Form.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
Set<UIComponent> |
Form.getComponentsForDefinition(RecordHolder componentDefinition,
UIComponent scopeComponent) |
boolean |
Form.isInvalid(UIComponent component) |
void |
Form.markComponentAsInvalid(UIComponent component) |
void |
Form.markComponentAsValid(UIComponent component) |
void |
Form.registerUIComponent(UIComponent component) |
void |
Form.unregisterUIComponent(UIComponent component) |
Modifier and Type | Interface and Description |
---|---|
interface |
UIComponentListeningOnRefresh
Defines interface for components for need to be notified if some of their
children are refreshed.
|
interface |
UIComponentWithCustomVisibility
Defines interface for components for which the Vaadin component hierarchy
does not match the hierarchy of LSPS UI components.
|
interface |
UIComponentWithHints2
Defines interface for components which support custom hints.
|
interface |
UIComponentWithInputPrompt
Marker interface for components that support setting input prompt (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected UIComponent |
UIComponentFactoryImpl.createActionLink(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createButtonLink(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createCheckBox(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createCheckBoxList(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createComboBox(UIComponentData componentData) |
UIComponent |
UIComponentFactoryImpl.createComponent(LspsScreen screen,
UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
UIComponentFactory.createComponent(LspsScreen screen,
UIComponent parent,
RecordHolder definition,
UIComponentScope scope)
Creates and injects component based on the provided component definition.
|
protected UIComponent |
UIComponentFactoryImpl.createComponent(UIComponentData componentData)
This method is responsible for creating a component based on the
provided component data.
|
protected UIComponent |
UIComponentFactoryImpl.createConditional(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createContainer(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createDateTextBox(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createDecimalTextBox(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createFileDownload(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createFileUpload(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createGridLayout(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createHorizontalLayout(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createImage(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createLazyComboBox(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createMessage(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createMultiSelectList(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createNavigationLink(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createOutputText(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createPanel(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createPopup(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createProcessDiagram(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createRadioButtonList(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createRepeater(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createSingleSelectList(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createTabbedLayout(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createTable(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createTextArea(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createTextBox(UIComponentData componentData) |
UIComponent |
UIScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
protected UIComponent |
UIComponentFactoryImpl.createVerticalLayout(UIComponentData componentData) |
protected UIComponent |
UIComponentFactoryImpl.createViewModel(UIComponentData componentData) |
UIComponent |
UIComponentData.getParent() |
UIComponent |
UIEventQueueEntry.getScope() |
UIComponent |
UIScreen.getTopmostComponent() |
Modifier and Type | Method and Description |
---|---|
Set<UIComponent> |
Bindings.get(RecordHolder record,
Property property)
Returns components which are displaying given record and given property.
|
Set<UIComponent> |
ComponentErrorMapping.getComponents() |
Set<UIComponent> |
UIComponentScope.getComponentsForDefinition(UIComponentDefinitionId definitionId)
Returns all components created from the given component definition, that
were registered in this scope directly, in any of its sub-scopes or in a
different branch within a super-scope (note that this should NOT return
any components registered in any other super-scope from the same branch).
|
Map<UIComponent,List<String>> |
ComponentErrorMapping.getMap() |
Set<UIComponent> |
UIComponentScope.getRegisteredComponents()
Returns a collection of all components registered in this scope.
|
List<UIComponent> |
UIComponentScope.getRegisteredComponentsChildrenFirst(UIComponent root)
Similar to
UIComponentScope.getRegisteredComponents() but orders the result so that child appears in the list before a parent. |
protected Map<UIComponent,List<String>> |
UIScreen.mapErrorsToComponents(LspsFormConnector.ValidationErrors validationErrors,
Bindings bindings)
Maps given validation errors to component.
|
Map<UIComponent,List<String>> |
UIComponentFactoryImpl.mapErrorsToComponents(LspsScreen screen,
LspsFormConnector.ValidationErrors validationErrors,
Bindings bindings) |
Map<UIComponent,List<String>> |
UIComponentFactory.mapErrorsToComponents(LspsScreen screen,
LspsFormConnector.ValidationErrors validationErrors,
Bindings bindings)
Takes a set of validation errors and shows them on components in given screen.
|
Modifier and Type | Method and Description |
---|---|
ComponentsToProcess.Builder |
ComponentsToProcess.Builder.add(UIComponent component) |
void |
ComponentErrorMapping.add(UIComponent component,
List<String> messages) |
void |
ComponentErrorMapping.add(UIComponent component,
String message) |
void |
UIScreen.addComponentToRefresh(UIComponent component) |
void |
UIComponentFactoryImpl.ScreenLevelRecord.addToShownOn(UIComponent component)
Call when the validation error was mapped on some component.
|
void |
UIComponentFactoryImpl.afterCreate(UIComponent component) |
void |
UIComponentFactory.afterCreate(UIComponent component)
Perform standard set of behaviors when component is created.
|
void |
UIComponentFactoryImpl.applyCommonProperties(UIComponent component) |
void |
UIComponentFactory.applyCommonProperties(UIComponent component)
Applies all standard properties from the component definition to the
given input component.
|
protected void |
UIComponentFactoryImpl.applyHint(UIComponent component,
String hintName,
Variant<Object> newValue,
Variant<Object> oldValue)
Applies single hint of the given value to the given component
|
void |
UIComponentFactoryImpl.applyListeners(UIComponent component) |
void |
UIComponentFactory.applyListeners(UIComponent component)
Applies all listeners defined in the component definition associated with the
given component.
|
abstract boolean |
ComponentsToProcess.contains(UIComponent c)
Checks whether given component is contained in this set.
|
static UIComponentData |
UIComponentData.create(UIComponent parent,
RecordHolder definition)
Creates component data for a UIComponent.
|
static UIComponentData |
UIComponentData.create(UIComponent parent,
RecordHolder definition,
UIComponentScope scope)
Creates component data for a UIComponent.
|
UIComponent |
UIComponentFactoryImpl.createComponent(LspsScreen screen,
UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
UIComponent |
UIComponentFactory.createComponent(LspsScreen screen,
UIComponent parent,
RecordHolder definition,
UIComponentScope scope)
Creates and injects component based on the provided component definition.
|
com.vaadin.data.util.converter.Converter<String,?> |
LspsConverterFactoryImpl.createConverter(UIComponent uiComponent,
Type type) |
<MODEL> com.vaadin.data.util.converter.Converter<String,MODEL> |
LspsConverterFactory.createConverter(UIComponent uiComponent,
Type type)
Creates converter for the given ui component instance (the format property of
the given component definition is taken into the account) and for the given model
type.
|
protected UIListener |
UIComponentFactoryImpl.createListener(UIComponent component,
RecordHolder uiListener)
Creates listener based on the provided component definition.
|
UIListenerAction |
UIComponentFactoryImpl.createListenerAction(UIScreen screen,
UIListener listener,
RecordHolder definition,
UIComponent scope) |
UIListenerAction |
UIComponentFactory.createListenerAction(UIScreen screen,
UIListener listener,
RecordHolder definition,
UIComponent scope)
Creates listener action based on the provided definition.
|
UIComponent |
UIScreen.createUIComponent(UIComponent parent,
RecordHolder componentDefinition,
UIComponentScope scope) |
static UIComponentDefinitionId |
UIComponentDefinitionId.get(UIComponent component)
Returns the component definition ID.
|
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 Type |
LspsProperty.getLspsType(UIComponent component)
Returns the LSPS type of the component binding.
|
List<String> |
ComponentErrorMapping.getMessages(UIComponent component) |
List<UIComponent> |
UIComponentScope.getRegisteredComponentsChildrenFirst(UIComponent root)
Similar to
UIComponentScope.getRegisteredComponents() but orders the result so that child appears in the list before a parent. |
boolean |
UIComponentScope.hasRegisteredComponent(UIComponent component)
Answer whether a component is registered in this scope.
|
boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isExcluded(UIComponent component)
Invokes the UIComponent "excludeValidationError" closure and checks whether given validation error is exluded or not.
|
boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isIncluded(UIComponent component)
Invokes the UIComponent "includeValidationError" closure and checks whether given validation error is included or not.
|
boolean |
UIScreen.isInvalid(UIComponent component) |
static boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isShownOn(RecordHolder validationError,
UIComponent component)
Deprecated.
|
boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isShownOn(UIComponent component) |
static boolean |
UIComponentFactoryImpl.ScreenLevelRecord.isShownOn(Variant.RecordVariant validationError,
UIComponent component)
Deprecated.
|
void |
UIScreen.markComponentAsInvalid(UIComponent component) |
void |
UIScreen.markComponentAsValid(UIComponent component) |
void |
UIComponentListeningOnRefresh.onChildRefresh(UIComponent child)
Invoked when a child UI component is refreshed, or when this method is called on child.
|
void |
UIComponentFactoryImpl.refresh(UIComponent component) |
void |
UIComponentFactory.refresh(UIComponent component)
Refreshes the UI component.
|
void |
UIComponentScope.registerComponent(UIComponent component)
Register the given UI component within this scope.
|
void |
UIScreen.registerUIComponent(UIComponent component) |
protected void |
UIComponentFactoryImpl.setComponentReadOnly(UIComponent component,
boolean readOnly)
Sets the component to read-only state.
|
protected void |
UIComponentFactoryImpl.unapplyHint(UIComponent component,
String hintName,
Variant<Object> oldValue) |
void |
UIComponentScope.unregisterComponent(UIComponent component)
Unregister the given UI component from this scope.
|
void |
UIScreen.unregisterUIComponent(UIComponent component) |
void |
UIComponentFactoryImpl.updateComponentCaption(UIComponent component)
Sets caption property for the given component based on value of field
UIFieldNames.LABEL . |
void |
UIComponentFactory.updateComponentCaption(UIComponent component)
Sets caption property for the given component based on value of field
UIFieldNames.LABEL . |
protected void |
UIComponentFactoryImpl.updateComponentHelpText(UIComponent component)
Sets description property for the given component based on value of field
UIFieldNames.HELP_TEXT . |
protected void |
UIComponentFactoryImpl.updateComponentRequired(UIComponent component)
Adds required style class (
UIComponentFactory.REQUIRED_STYLE_NAME ) if the value of
field UIFieldNames.REQUIRED is true. |
void |
UIComponentFactoryImpl.updateHints(UIComponent component,
Variant.MapVariant<String,Object> newHints,
Variant.MapVariant<String,Object> oldHints) |
void |
UIComponentFactory.updateHints(UIComponent component,
Variant.MapVariant<String,Object> newHints,
Variant.MapVariant<String,Object> oldHints)
Applies all hints defined in the component definition associated with the
given component.
|
protected void |
UIComponentFactoryImpl.updateImmediate(UIComponent component)
Sets immediate property for the given component based on value of field
UIFieldNames.TRIGGER_PROCESSING_ON_CHANGE |
protected void |
UIComponentFactoryImpl.updateInputPrompt(UIComponent component)
Sets input prompt property for the given component based on value of
field
UIFieldNames.PLACEHOLDER |
protected void |
UIComponentFactoryImpl.updateReadOnly(UIComponent component)
Sets read only and disabled property for the given component based on value of field
UIFieldNames.READ_ONLY /UIFieldNames.DISABLED . |
Modifier and Type | Method and Description |
---|---|
void |
ComponentErrorMapping.add(Map<UIComponent,List<String>> map) |
protected void |
UIScreen.addErrorMessagesToComponents(Map<UIComponent,List<String>> errorMessages)
Displays error messages on components.
|
void |
UIComponentFactoryImpl.addErrorMessagesToComponents(Map<UIComponent,List<String>> errorMessages) |
void |
UIComponentFactory.addErrorMessagesToComponents(Map<UIComponent,List<String>> errorMessages)
Default implementation simply uses
UIComponents.addComponentError(com.whitestein.lsps.vaadin.ui.components.UIComponent, String) to attach error messages to Vaadin components. |
static Bindings |
Bindings.getBindings(Collection<UIComponent> components)
Computes all known bindings to all components.
|
void |
UIEventQueue.removeInvalidPendingChangeEvents(Set<UIComponent> refreshedComponents)
Removes all pending change events for the refreshed and hidden components.
|
Constructor and Description |
---|
LspsDateConverter(UIComponent uiComponent)
Creates converter and loads format pattern from property
UIFieldNames.FORMAT of the component definition
for the given ui component. |
LspsDecimalConverter(UIComponent uiComponent,
Type type) |
LspsProperty(UIComponent component)
Creates property bound to LSPS reference defined by field
UIFieldNames.BINDING in component definition
associated with the provided component (getComponentData() |
UIEventQueueEntry(UIEvent uiEvent,
UIListener uiListener,
UIComponent scope) |
Constructor and Description |
---|
ComponentErrorMapping(Map<UIComponent,List<String>> map) |
Modifier and Type | Interface and Description |
---|---|
interface |
UIComponentContainer
Extension of
UIComponent interface for components which contain
other UIComponent -s. |
interface |
UIComponentShowingRecords
Some components, such as tables and repeaters, shows multitude of records.
|
interface |
UIComponentWithCustomScopes
Extension of
UIRefreshHandler interface for components which are
providing different scopes for their children. |
interface |
UIComponentWithWrappers
A component which wraps its children in yet another wrapper component, for various purposes.
|
interface |
UIDynamicComponentContainer |
interface |
UIRefreshHandler
Extension of
UIComponent interface for complex components which
contain other UIComponent -s. |
Modifier and Type | Class and Description |
---|---|
class |
UIActionLink
Standard Vaadin component for "ui::ActionLink"
|
class |
UIBrowserFrame
Browser frame component.
|
class |
UIButton
Standard Vaadin component for "ui::Button".
|
class |
UICartesianChart
Cartesian chart component (can render a combination of bar/line/area/scatter/bubble charts).
|
class |
UICheckBox
Standard Vaadin component for "ui::CheckBox".
|
class |
UICheckBoxList
Standard Vaadin component for "ui::CheckBoxList".
|
class |
UIComboBox
Standard Vaadin component for "ui::ComboBox".
|
class |
UIConditional
Standard Vaadin component for "ui::Conditional".
|
class |
UIContainer
Standard Vaadin component for "ui::Container".
|
class |
UIDashboard
Dashboard component.
|
class |
UIDashboardWidget
Dasbhboard widget component.
|
class |
UIDateTextBox
Standard Vaadin component for "ui::TextBox" with binding of type Reference<Date>.
|
class |
UIFileDownloadButton |
class |
UIFileUpload
Standard Vaadin component for "ui::FileUpload".
|
class |
UIFormLayout |
class |
UIGaugeChart
Gauge chart component.
|
class |
UIGenericChart
Generic chart component integrated with LSPS that supports chart click
listeners and configuration through the 'config' hint.
|
class |
UIGeolocator
Provides support for geo-location events.
|
class |
UIGridLayout
Standard Vaadin component for "ui::GridLayout".
|
class |
UIHorizontalLayout
Standard Vaadin component for "ui::HorizontalLayout".
|
class |
UIHorizontalRepeater |
class |
UIImage
Standard Vaadin component for "ui::Image".
|
class |
UILazyComboBox
Standard Vaadin component for "ui::LazyComboBox".
|
class |
UIMapDisplay
Shows OpenStreetMap using the V-Leaflet library.
|
class |
UIMessage
Standard Vaadin component for "ui::Message".
|
class |
UIMultiSelectList
Standard Vaadin component for "ui::MultiSelectList".
|
class |
UINavigationLink
Standard Vaadin component for "ui::NavigationLink".
|
class |
UIOutputText
Standard Vaadin component for "ui::OutputText".
|
class |
UIPanel
Standard Vaadin component for "ui::Panel".
|
class |
UIPieChart
Pie chart component.
|
class |
UIPolarChart
Polar chart component.
|
class |
UIPopup
Standard Vaadin component for "ui::Popup".
|
class |
UIProcessDiagram |
class |
UIRadioButtonList
Standard Vaadin component for "ui::RadioButtonList".
|
class |
UIRepeater
Standard Vaadin component for "ui::Repeater".
|
class |
UIRichTextArea
A rich text area implementation.
|
class |
UISingleSelectList
Standard Vaadin component for "ui::SingleSelectList".
|
class |
UITabbedLayout
Standard Vaadin component for "ui::TabbedLayout".
|
class |
UITextArea
Standard Vaadin component for "ui::TextArea".
|
class |
UITextBox
Standard Vaadin component for "ui::TextBox".
|
class |
UITokenField
UI Component for TokenField
This fields allows to select multiple values from combo box and the
selected values are shown as tags.
|
class |
UITree2
Implements the
ui::Tree2 record functionality. |
class |
UIVerticalLayout
Standard Vaadin component for "ui::VerticalLayout".
|
class |
UIVerticalRepeater |
class |
UIViewModel
Standard Vaadin component for "ui::ViewModel".
|
Modifier and Type | Field and Description |
---|---|
protected UIComponent |
UIViewModel.content
Child component
|
protected UIComponent |
UIContainer.content
Child component
|
Modifier and Type | Field and Description |
---|---|
protected List<UIComponent> |
UIGridLayout.childComponents
Contains list of child
UIComponent instances |
Modifier and Type | Method and Description |
---|---|
UIComponent |
UITabbedLayout.getSelectedTabContent()
Returns the content of the selected tab.
|
Modifier and Type | Method and Description |
---|---|
void |
UIVerticalLayout.addChild(UIComponent child) |
void |
UIHorizontalLayout.addChild(UIComponent child) |
void |
UIFormLayout.addChild(UIComponent child) |
void |
UIDynamicComponentContainer.addChild(UIComponent child)
Dynamically adds given component to this container.
|
protected void |
UIPopup.attachContent(UIComponent content) |
protected void |
UIConditional.attachContent(UIComponent content)
Attaches the content component to the component tree.
|
void |
UIViewModel.onChildRefresh(UIComponent child) |
void |
UITabbedLayout.onChildRefresh(UIComponent child) |
void |
UIPopup.onChildRefresh(UIComponent child) |
void |
UIContainer.onChildRefresh(UIComponent child) |
void |
UIConditional.onChildRefresh(UIComponent child) |
static List<TreeItem> |
TreeItem.toTreeItems(Variant.CollectionVariant<? extends Collection<RecordHolder>,RecordHolder> treeItems,
UIComponent owner) |
Constructor and Description |
---|
TreeItem(Variant.RecordVariant record,
UIComponent owner) |
UIContextMenu(UIComponent component)
Creates the menu.
|
UIFileResource(Variant.ClosureVariant closure,
UIComponent uiComponent,
boolean fireDownloadEvent,
boolean forceSave)
Full constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
UICalendar
The calendar UI component.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Pager.PagedComponent
Interface for components that use
Pager . |
Modifier and Type | Class and Description |
---|---|
class |
UIGrid |
class |
UIGridColumn
A Java wrapper around the ui::GridColumn record.
|
class |
UIGroupingTable
A special table which can perform in-memory data grouping.
|
class |
UILazyTable
Lazy-loading scrollable table.
|
class |
UIPagedTable
Standard Vaadin component for "ui::Table" with type == "paged".
|
class |
UISimpleTable
Standard Vaadin component for "ui::Table" with type == "simple".
|
class |
UITableBase
Base component for UIComponents based on Table.
|
class |
UITableColumn
Standard Vaadin component for "ui::TableColumn".
|
class |
UITreeTable2
The "new" tree table, ui::TreeTable2
|
Modifier and Type | Field and Description |
---|---|
UIComponent |
UITableBase.ComponentTuple.uiComponent
The UI component which shows column data.
|
Modifier and Type | Method and Description |
---|---|
List<UIComponent> |
UIFilterDecorator.getCustomFilterComponents() |
Set<UIComponent> |
UITableColumn.getRefreshedComponents() |
Set<UIComponent> |
UITableBase.getRefreshedComponents() |
Set<UIComponent> |
UIGrid.getRefreshedComponents() |
Modifier and Type | Method and Description |
---|---|
void |
UITableColumn.onChildRefresh(UIComponent child) |
static void |
UITableColumn.patchCssLayoutToShowErrorMessagesCorrectly(com.vaadin.ui.CssLayout parent,
UIComponent component) |
Constructor and Description |
---|
ComponentTuple(UIComponent uiComponent,
com.vaadin.ui.Component wrapper) |
Modifier and Type | Class and Description |
---|---|
class |
UIButtonRenderer
Renders a string content of a cell as a button.
|
class |
UIDateRenderer
A renderer for
java.util.Date values. |
class |
UIEnumerationRenderer
Renders a converted enumeration value as simple text.
|
class |
UIGridCellRenderer
This component represents a grid cell renderer definition.
|
class |
UIHtmlRenderer
A grid cell renderer for rendering HTML content.
|
class |
UIImageRenderer
Renders a content of a cell as an image.
|
class |
UILinkRenderer
Renders a content of a cell as an action link.
|
class |
UINumberRenderer
A renderer for numerical values.
|
Modifier and Type | Field and Description |
---|---|
protected UIComponent |
UIEvent.component |
Modifier and Type | Method and Description |
---|---|
UIComponent |
UIListenerImpl.getComponent() |
UIComponent |
UIListener.getComponent()
Returns the component on which this listener is defined.
|
UIComponent |
UIEvent.getLspsComponent()
WARNING: after refresh, the component may no longer be present in the component tree (for example, when a table is refreshed
and this component is a table child component).
|
Modifier and Type | Method and Description |
---|---|
Set<RecordHolder> |
UIListenerImpl.getComponentsToRefresh(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
Set<RecordHolder> |
UIListener.getComponentsToRefresh(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
RecordHolder |
UIEvent.getEvent(UIComponent component)
Returns the event definition record in the execution context of given component.
|
RecordHolder |
UIApplicationEvent.getEvent(UIComponent component) |
protected Map<String,?> |
UIWidgetChangeEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIValueChangeEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UITreeEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UITablePageChangeEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIRendererClickedEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIMenuEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIMarkerDraggedEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIMarkerClickedEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIMapClickedEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIInitEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIGeolocationEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIFileUploadEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIEvent.getEventProperties(UIComponent component)
Returns initial properties.
|
protected Map<String,?> |
UIChartClickEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UICalendarEvent.getEventProperties(UIComponent component) |
protected Map<String,?> |
UIAsynchronousTextChangeEvent.getEventProperties(UIComponent component) |
Variant.RecordVariant |
UIListenerImpl.getListenerDefinition(UIComponent scope) |
Variant.RecordVariant |
UIListener.getListenerDefinition(UIComponent scope)
Returns the listener definition, never null.
|
Set<RecordHolder> |
UIListenerImpl.processEvent(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
Set<RecordHolder> |
UIListener.processEvent(UIEvent uiEvent,
RecordHolder event,
UIComponent scope)
Process the given event.
|
boolean |
UIListenerImpl.shouldBeExecuted(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
boolean |
UIListener.shouldBeExecuted(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
boolean |
UIAppEventListener.shouldBeExecuted(UIEvent uiEvent,
RecordHolder event,
UIComponent scope) |
LspsFormConnector.ValidationErrors |
UIListenerImpl.validate2(UIEvent event,
UIComponent scope) |
LspsFormConnector.ValidationErrors |
UIListener.validate2(UIEvent uiEvent,
UIComponent scope)
Perform validation of the listener based on set of validators
objects (defined by field
UIFieldNames.VALIDATE ). |
LspsFormConnector.ValidationErrors |
UIInitListener.validate2(UIEvent event,
UIComponent scope) |
Constructor and Description |
---|
UIAppEventListener(UIComponent component,
RecordHolder listener)
Full constructor.
|
UIApplicationEvent(UIComponent component,
RecordHolder lspsEvent)
Full constructor.
|
UIAsynchronousTextChangeEvent(UIComponent component,
String text)
Full constructor.
|
UIChartClickEvent(UIComponent component,
com.vaadin.addon.charts.PointClickEvent event)
Full constructor.
|
UIEvent(UIComponent component,
String eventTypeFullName) |
UIFireAppEventAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIGenericListener(UIComponent component,
RecordHolder listener)
Initiate this listener for the given instance of
UIComponent and
listener definition. |
UIInitEvent(UIComponent component,
boolean isFirstLoad,
boolean isFirstLoadAfterSave)
Full constructor.
|
UIInitListener(UIComponent component,
RecordHolder listener) |
UIListenerImpl(UIComponent component,
RecordHolder listener)
Initiate this listener for the given instance of
UIComponent and
listener definition. |
UIMenuEvent(UIComponent component,
Variant<?> id) |
UINavigateAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIPersistAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIPopupCloseRequestEvent(UIComponent component) |
UIRendererClickedEvent(UIComponent component,
Variant<?> row) |
UISaveAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UITreeEvent(UIComponent component,
TreeItem treeItem) |
UIValueChangeEvent(UIComponent component,
Variant<Object> oldValue,
Variant<Object> newValue)
Full constructor.
|
UIViewModelAction(UIComponent scope,
Variant.RecordVariant definition,
UIListener owner)
Full constructor.
|
UIWidgetChangeEvent(UIComponent component,
String widgetId,
com.whitestein.lsps.vaadin.widgets.WidgetDimensions dimensions,
boolean visible)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
static List<UIComponent> |
UIComponents.appendChildren2(UIComponent parent,
Variant.ListVariant<RecordHolder> children)
Populates given parent with child components based on definitions from the given list.
|
static List<UIComponent> |
UIComponents.getChildrenAsUIComponent(com.vaadin.ui.Component c)
Deprecated.
Do not use - not compatible with the new
getWidget() system. All layout components must instead track their children manually. |
static Set<UIComponent> |
UIComponents.refreshRecursively(Collection<? extends UIComponent> components,
Set<UIComponent> refreshedComponents)
Refreshes recursively all of given components and returns
set of all refreshed components.
|
Modifier and Type | Method and Description |
---|---|
static void |
UIComponents.addComponentError(UIComponent component,
String errorMessage)
Adds error message to the component.
|
static void |
UIComponents.afterCreate(UIComponent component)
Deprecated.
moved to UIComponentFactoryImpl. Do not call - UIComponentFactoryImpl.afterCreate will be called automatically after the UI component is constructed.
|
static List<UIComponent> |
UIComponents.appendChildren2(UIComponent parent,
Variant.ListVariant<RecordHolder> children)
Populates given parent with child components based on definitions from the given list.
|
static void |
Listeners.applyListeners(UIComponent component)
Adds all standard listeners (required by the framework itself) and all listeners
defined in the given component definition to the given component.
|
static Variant.MapVariant<String,Object> |
Hints.computeHints(UIComponent component)
Runs the hint closure and returns its result.
|
static Variant.RecordVariant |
Variant.definitionOf(UIComponent component)
Returns record variant which accesses given component definition.
|
Variant<Object> |
Variant.dereference(UIComponent scope)
De-references the referenced type (calls
ReferenceHolder.getValue() ). |
static boolean |
UIComponents.fillInSelectItems(UIComponent component)
Updates list of items for the given select based on value of the field
UIFieldNames.OPTIONS |
static Variant.MapVariant<String,Object> |
Hints.getCurrentHints(UIComponent component,
Variant.MapVariant<String,Object> newHints) |
static boolean |
Hints.hasHints(UIComponent component)
Checks whether the component has field.
|
Variant.ScopedClosureVariant |
Variant.ClosureVariant.inScope(UIComponent scope)
Sets the scope of the variant.
|
static boolean |
UIComponents.isShown(UIComponent component)
Checks if the component is displayed on the screen by iterating through
all parents and checking their visibility.
|
static Variant.PropertyOrigin |
Variant.PropertyOrigin.of(UIComponent component,
String property) |
static Variant.RecordVariant |
Variant.ofUnknownOrigin(RecordHolder value,
UIComponent origin)
Wraps given RecordHolder which somehow originated from given component (e.g.
|
static void |
Hints.onUnsupportedHint(UIComponent component,
String hintName)
Handles 'unsupported hint' warnings.
|
static void |
UIComponents.setComponentRequired(UIComponent component,
boolean required)
Adds required style class (
UIComponents.REQUIRED_STYLE_NAME ) and also calls
Vaadin Component.setReadOnly(boolean) . |
Variant<ReferenceHolder> |
Variant.setReferencedValue(UIComponent scope,
Object newValue)
Sets the referenced value to given value.
|
Variant<ReferenceHolder> |
Variant.setReferencedValueCollection(UIComponent scope,
Collection<?> newValue)
Sets the referenced value to given value.
|
static String |
UIComponents.toString(UIComponent component)
Provides standardized "log" format of a component description, in form of
[class UIOutputText] (Enter your name:) #_ayu9283r4jasdasdi7234 . |
static void |
Hints.updateHints(UIComponent component)
Runs the hint closure and updates all hints on the component.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
UIComponents.areVisible(Set<UIComponent> components) |
static void |
UIComponents.initAndRefreshChildren(List<? extends UIComponent> components,
boolean isFirstLoad)
Initializes all the given components recursively, by firing new
Events.INIT_EVENT_TYPE event for each component, and marks the
components to be refreshed once the init events are processed. |
static void |
UIComponents.initChildren(List<? extends UIComponent> components,
boolean isFirstLoad)
Initializes all the given components recursively, by firing new
Events.INIT_EVENT_TYPE event for each component. |
static Set<UIComponent> |
UIComponents.refreshRecursively(Collection<? extends UIComponent> components,
Set<UIComponent> refreshedComponents)
Refreshes recursively all of given components and returns
set of all refreshed components.
|
static Set<UIComponent> |
UIComponents.refreshRecursively(Collection<? extends UIComponent> components,
Set<UIComponent> refreshedComponents)
Refreshes recursively all of given components and returns
set of all refreshed components.
|
static void |
UIComponents.register(Collection<? extends UIComponent> components)
Registers all the given components recursively.
|
static void |
UIComponents.unregister(Collection<? extends UIComponent> components)
Unregisters all the given components recursively.
|
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.