Interface LayerCustomAction.Builder

    • Method Detail

      • customActionId

        LayerCustomAction.Builder customActionId​(String customActionId)

        The ID of the custom action.

        Parameters:
        customActionId - The ID of the custom action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        LayerCustomAction.Builder name​(String name)

        The name of the custom action.

        Parameters:
        name - The name of the custom action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        LayerCustomAction.Builder status​(String status)

        The status of the LayerCustomAction.

        Parameters:
        status - The status of the LayerCustomAction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WidgetStatus, WidgetStatus
      • trigger

        LayerCustomAction.Builder trigger​(String trigger)

        The trigger of the LayerCustomAction.

        Valid values are defined as follows:

        • DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.

        • DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.

        Parameters:
        trigger - The trigger of the LayerCustomAction.

        Valid values are defined as follows:

        • DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.

        • DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LayerCustomActionTrigger, LayerCustomActionTrigger
      • trigger

        LayerCustomAction.Builder trigger​(LayerCustomActionTrigger trigger)

        The trigger of the LayerCustomAction.

        Valid values are defined as follows:

        • DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.

        • DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.

        Parameters:
        trigger - The trigger of the LayerCustomAction.

        Valid values are defined as follows:

        • DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.

        • DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LayerCustomActionTrigger, LayerCustomActionTrigger
      • actionOperations

        LayerCustomAction.Builder actionOperations​(Collection<LayerCustomActionOperation> actionOperations)

        A list of LayerCustomActionOperations.

        This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

        Parameters:
        actionOperations - A list of LayerCustomActionOperations.

        This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionOperations

        LayerCustomAction.Builder actionOperations​(LayerCustomActionOperation... actionOperations)

        A list of LayerCustomActionOperations.

        This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

        Parameters:
        actionOperations - A list of LayerCustomActionOperations.

        This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

        Returns:
        Returns a reference to this object so that method calls can be chained together.