Class RelationshipPopupElement
- All Implemented Interfaces:
JsonSerializable
A typical UI implementation displays a preview of a maximum of
display count
related records with a possibility to show
more records and more detailed info by record.
- Since:
- 200.1.0
-
Property Summary
PropertiesTypePropertyDescriptionA string value describing the element in detail.The maximum number of records to display.The id of the relationship as defined in the feature layer definition.A string value indicating what the element represents.Properties inherited from class com.esri.arcgisruntime.mapping.popup.PopupElement
evaluated
-
Constructor Summary
ConstructorsConstructorDescriptionRelationshipPopupElement
(long relationshipId) Creates a new relationship pop-up element with the given relationship ID. -
Method Summary
Modifier and TypeMethodDescriptionA string value describing the element in detail.The maximum number of records to display.Gets the value of the property description.int
Gets the value of the property displayCount.Gets aList
ofQueryParameters.OrderBy
objects indicating the display order for the related records and whether they should be sorted in ascending or descending order.long
Gets the value of the property relationshipId.getTitle()
Gets the value of the property title.The id of the relationship as defined in the feature layer definition.void
setDescription
(String description) Sets the value of the property description.void
setDisplayCount
(int displayCount) Sets the value of the property displayCount.void
Sets the value of the property title.A string value indicating what the element represents.Methods inherited from class com.esri.arcgisruntime.mapping.popup.PopupElement
evaluatedProperty, fromJson, getUnknownJson, getUnsupportedJson, isEvaluated, toJson
-
Property Details
-
description
A string value describing the element in detail. Can be an empty string.Will throw NullPointerException if the description is set to null.
- Since:
- 200.1.0
- See Also:
-
displayCount
The maximum number of records to display.The default value is 3.
If this maximum number is 0, no records will be displayed in the preview.
- Since:
- 200.1.0
- See Also:
-
relationshipId
The id of the relationship as defined in the feature layer definition.- Since:
- 200.1.0
- See Also:
-
title
A string value indicating what the element represents. Can be an empty string.Will throw NullPointerException if the title is set to null.
- Since:
- 200.1.0
- See Also:
-
-
Constructor Details
-
RelationshipPopupElement
public RelationshipPopupElement(long relationshipId) Creates a new relationship pop-up element with the given relationship ID.- Parameters:
relationshipId
- the id of the relationship as defined in the feature layer definition- Since:
- 200.1.0
-
-
Method Details
-
descriptionProperty
A string value describing the element in detail. Can be an empty string.Will throw NullPointerException if the description is set to null.
- Since:
- 200.1.0
- See Also:
-
getDescription
Gets the value of the property description.- Property description:
- A string value describing the element in detail. Can be an empty string.
Will throw NullPointerException if the description is set to null.
- Since:
- 200.1.0
-
setDescription
Sets the value of the property description.- Property description:
- A string value describing the element in detail. Can be an empty string.
Will throw NullPointerException if the description is set to null.
- Since:
- 200.1.0
-
displayCountProperty
The maximum number of records to display.The default value is 3.
If this maximum number is 0, no records will be displayed in the preview.
- Since:
- 200.1.0
- See Also:
-
getDisplayCount
public int getDisplayCount()Gets the value of the property displayCount.- Property description:
- The maximum number of records to display.
The default value is 3.
If this maximum number is 0, no records will be displayed in the preview.
- Since:
- 200.1.0
-
setDisplayCount
public void setDisplayCount(int displayCount) Sets the value of the property displayCount.- Property description:
- The maximum number of records to display.
The default value is 3.
If this maximum number is 0, no records will be displayed in the preview.
- Since:
- 200.1.0
-
getOrderByFields
Gets aList
ofQueryParameters.OrderBy
objects indicating the display order for the related records and whether they should be sorted in ascending or descending order.If this collection is empty, the related records are displayed in whatever order the server decides.
- Returns:
- a
List
ofQueryParameters.OrderBy
objects indicating the display order for the related records and whether they should be sorted in ascending or descending order - Since:
- 200.1.0
- See Also:
-
relationshipIdProperty
The id of the relationship as defined in the feature layer definition.- Since:
- 200.1.0
- See Also:
-
getRelationshipId
public long getRelationshipId()Gets the value of the property relationshipId.- Property description:
- The id of the relationship as defined in the feature layer definition.
- Since:
- 200.1.0
-
titleProperty
A string value indicating what the element represents. Can be an empty string.Will throw NullPointerException if the title is set to null.
- Since:
- 200.1.0
- See Also:
-
getTitle
Gets the value of the property title.- Property description:
- A string value indicating what the element represents. Can be an empty string.
Will throw NullPointerException if the title is set to null.
- Since:
- 200.1.0
-
setTitle
Sets the value of the property title.- Property description:
- A string value indicating what the element represents. Can be an empty string.
Will throw NullPointerException if the title is set to null.
- Since:
- 200.1.0
-