Class AbstractGISEditableDrawer<T extends GISEditable & FlagContainer>

    • Constructor Detail

      • AbstractGISEditableDrawer

        public AbstractGISEditableDrawer()
    • Method Detail

      • isSelected

        @Pure
        protected boolean isSelected​(T element)
        Replies the given element is selected.
        Parameters:
        element - the element.
        Returns:
        true if the element is selected.
      • getDrawingColor

        @Pure
        protected int getDrawingColor​(T element)
        Replies the color that should be used for drawing the given element.
        Parameters:
        element - the element.
        Returns:
        the drawing color.
      • getDrawingColor

        @Pure
        protected int getDrawingColor​(int color,
                                      boolean isSelected)
        Adapt the given color in order to be used for displaying.
        Parameters:
        color - the color to adapt.
        isSelected - indicates if the color should be adapted for selection.
        Returns:
        the drawing color.