Class FeatureNode

    • Constructor Detail

      • FeatureNode

        public FeatureNode​(BusinessObjectViewNode viewNode,
                           com.neotropic.flow.component.olmap.VectorSource vectorSource,
                           ResourceFactory resourceFactory,
                           String styleTextBackgroundFillColor,
                           String styleTextFillColor,
                           String selectedStyleTextBackgroundFillColor,
                           String styleTextFontSize,
                           double styleTextMinZoom)
    • Method Detail

      • setPosition

        public void setPosition​(GeoCoordinate position)
        Description copied from interface: MapNode
        Sets the node position.
        Specified by:
        setPosition in interface MapNode
        Parameters:
        position - Node position.
      • getNodeLabel

        public String getNodeLabel()
        Description copied from interface: MapNode
        Gets the node label.
        Specified by:
        getNodeLabel in interface MapNode
        Returns:
        Node label.
      • setNodeLabel

        public void setNodeLabel​(String label)
        Description copied from interface: MapNode
        Sets the node label.
        Specified by:
        setNodeLabel in interface MapNode
        Parameters:
        label - Node label.
      • getNodeTitle

        public String getNodeTitle()
        Description copied from interface: MapNode
        Gets the node title.
        Specified by:
        getNodeTitle in interface MapNode
        Returns:
        Node title.
      • setNodeTitle

        public void setNodeTitle​(String title)
        Description copied from interface: MapNode
        Sets the node title.
        Specified by:
        setNodeTitle in interface MapNode
        Parameters:
        title - Node title.
      • getClickableNode

        public boolean getClickableNode()
        Description copied from interface: MapNode
        Gets if the node can receives mouse events.
        Specified by:
        getClickableNode in interface MapNode
        Returns:
        If true, the node can receives mouse events.
      • setClickableNode

        public void setClickableNode​(boolean clickable)
        Description copied from interface: MapNode
        Sets if the node can receives mouse events.
        Specified by:
        setClickableNode in interface MapNode
        Parameters:
        clickable - True to receives mouse events.
      • getDraggableNode

        public boolean getDraggableNode()
        Description copied from interface: MapNode
        Gets if the node can be dragged.
        Specified by:
        getDraggableNode in interface MapNode
        Returns:
        If true, the node can be dragged.
      • setDraggableNode

        public void setDraggableNode​(boolean draggable)
        Description copied from interface: MapNode
        Sets if the node can be dragged.
        Specified by:
        setDraggableNode in interface MapNode
        Parameters:
        draggable - True to drag the node.
      • getPlayAnimation

        public boolean getPlayAnimation()
        Description copied from interface: MapNode
        Gets if animation is played.
        Specified by:
        getPlayAnimation in interface MapNode
        Returns:
        If animation is played.
      • setPlayAnimation

        public void setPlayAnimation​(boolean playAnimation)
        Description copied from interface: MapNode
        Sets true to play animation.
        Specified by:
        setPlayAnimation in interface MapNode
        Parameters:
        playAnimation - True to play animation.
      • getNodeVisible

        public boolean getNodeVisible()
        Description copied from interface: MapNode
        If true, the node is visible.
        Specified by:
        getNodeVisible in interface MapNode
        Returns:
        If true, the node is visible.
      • setNodeVisible

        public void setNodeVisible​(boolean visible)
        Description copied from interface: MapNode
        If true, the node is visible.
        Specified by:
        setNodeVisible in interface MapNode
        Parameters:
        visible - If true, the node is visible.
      • removeAllClickEventListeners

        public void removeAllClickEventListeners()
        Description copied from interface: MapNode
        Removes all click event listener.
        Specified by:
        removeAllClickEventListeners in interface MapNode
      • removeAllRightClickEventListeners

        public void removeAllRightClickEventListeners()
        Description copied from interface: MapNode
        Removes all right click event listener.
        Specified by:
        removeAllRightClickEventListeners in interface MapNode
      • removeAllPositionChangedEventListeners

        public void removeAllPositionChangedEventListeners()
        Description copied from interface: MapNode
        Removes all position changed event listeners.
        Specified by:
        removeAllPositionChangedEventListeners in interface MapNode