Interface AdaptedParent<M extends Model>

    • Method Detail

      • isPalettePrototype

        boolean isPalettePrototype()
        Indicates if the palette prototype.
        Returns:
        true if the palette prototype.
      • isAreaChangeEvent

        boolean isAreaChangeEvent​(java.lang.String eventName)
        Indicates if AdaptedArea change event.
        Parameters:
        eventName - Name of the event.
        Returns:
        true if AdaptedArea change event.
      • getAdapter

        <T> T getAdapter​(java.lang.Class<T> classKey)
        Obtains the adapter.
        Type Parameters:
        T - Adapted type.
        Parameters:
        classKey - Class key.
        Returns:
        Adapter or null if no adapter available.
      • changeLocation

        void changeLocation​(int x,
                            int y)
        Changes the location of the Model.
        Parameters:
        x - X.
        y - Y.