- 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 theDragNDropRepository
that was set on thisDragRepositoryAccessor
.void
setDragNDropRepository
(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
- theDragNDropRepository
to be used
-
getDragNDropRepository
DragNDropRepository getDragNDropRepository()Return theDragNDropRepository
that 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
-