public class Bindings extends Object
binding field and
UIComponentShowingRecords.getShownRecords()
to match UIComponents.| Modifier and Type | Method and Description |
|---|---|
Set<UIComponent> |
get(RecordHolder record,
Property property)
Returns components which are displaying given record and given property.
|
static ReferenceHolder |
getBinding(RecordHolder def)
Retrieves the value of the "Binding" field.
|
static Variant<ReferenceHolder> |
getBinding(Variant.RecordVariant def)
Retrieves the value of the "Binding" field.
|
static Bindings |
getBindings(Collection<UIComponent> components)
Computes all known bindings to all components.
|
String |
toString() |
public static Bindings getBindings(Collection<UIComponent> components)
components - the components, not null, may be empty.public static ReferenceHolder getBinding(RecordHolder def)
def - the component definition, not null.public static Variant<ReferenceHolder> getBinding(Variant.RecordVariant def)
def - the component definition, not null.public Set<UIComponent> get(RecordHolder record, Property property)
UIComponentShowingRecords.getShownRecords()).record - the record instance, not null.property - the property, may be null.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.