- All Known Subinterfaces:
MouseDragEnterListener,MouseDragExitedListener,MouseDraggedListener,MouseDropListener,YaegerScene
- All Known Implementing Classes:
CenteredShapeEntity,CircleEntity,CompositeEntity,DynamicCircleEntity,DynamicCompositeEntity,DynamicEllipseEntity,DynamicRectangleEntity,DynamicScene,DynamicSpriteEntity,DynamicTextEntity,EllipseEntity,RectangleEntity,ScrollableDynamicScene,ShapeEntity,SplashScene,SpriteEntity,StaticScene,TextEntity,YaegerEntity
public interface DragRepositoryAccessor
A
DragRepositoryAccessor needs access to a DragNDropRepository to either set or get information
about the object that is currently being dragged/dropped.-
Method Summary
Modifier and TypeMethodDescriptionReturn theDragNDropRepositorythat was set on thisDragRepositoryAccessor.voidsetDragNDropRepository(DragNDropRepository dragNDropRepository) Set theDragNDropRepository.
-
Method Details
-
setDragNDropRepository
Set theDragNDropRepository.Note: This method is part of the internal API, and should not be used when implementing a Yaeger game.
- Parameters:
dragNDropRepository- theDragNDropRepositoryto be used
-
getDragNDropRepository
DragNDropRepository getDragNDropRepository()Return theDragNDropRepositorythat was set on thisDragRepositoryAccessor.Note: This method is part of the internal API, and should not be used when implementing a Yaeger game.
- Returns:
- the instance of
DragNDropRepository
-