Interface DrawerReference<T>

  • Type Parameters:
    T - the type of the primitives to draw.
    All Known Implementing Classes:
    GisElementContainerDrawer, GisLayerContainerDrawer, RoadNetworkDrawer

    public interface DrawerReference<T>
    This interface is used for marking drawable elements. The drawable elements are able to provide an instance of its drawer.
    Since:
    16.0
    Version:
    17.0 2020-01-04 14:41:52
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.advanced
    Maven Artifact Id:
    nodefx
    • Method Detail

      • getDrawer

        @Pure
        Drawer<? super T> getDrawer()
        Replies the preferred drawer for this drawable object.
        Returns:
        the drawer or null if none.
      • setDrawer

        void setDrawer​(Drawer<? super T> drawer)
        Change the preferred drawer for this drawable object.
        Parameters:
        drawer - the drawer or null if none.