UtilityAssociationsPopupElement class final
A utility network associations pop-up element that is displayed in a pop-up for a geoelement.
A typical UI implementation displays UtilityAssociation based on UtilityAssociationsPopupElement.displayCount with a possibility to show all associations for a specific layer or table.
- Inheritance
-
- Object
- PopupElement
- UtilityAssociationsPopupElement
Constructors
-
UtilityAssociationsPopupElement({required List<
UtilityAssociationsFilter> associationFilters}) -
Creates a new utility network association pop-up element which displays
associations based on the filters provided.
factory
Properties
-
associationFilters
→ List<
UtilityAssociationsFilter> -
A collection of utility associations filters.
no setter
-
associationsFilterResults
→ List<
UtilityAssociationsFilterResult> -
A collection of utility associations filter results. This is empty if
associations filter results haven't been fetched.
no setter
- description ↔ String
-
String describing the pop-up element in detail.
getter/setter pair
- displayCount ↔ int
-
The number of associations to display based on the
UtilityAssociationsFilter provided.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEvaluated → bool
-
True if the pop-up element is contained in the Popup.evaluatedElements,
false otherwise.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
String indicating what the pop-up element represents.
getter/setter pair
Methods
-
fetchAssociationsFilterResults(
) → Future< void> - Fetches all UtilityAssociation objects based on the UtilityAssociationsPopupElement.associationFilters. It will populate UtilityAssociationsPopupElement.associationsFilterResults.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited